Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysctl: error: 'net.ipv4.ip_local_port_range' is an unknown key #2053

Closed
joshskains opened this issue Feb 8, 2018 · 2 comments · Fixed by #2077
Closed

sysctl: error: 'net.ipv4.ip_local_port_range' is an unknown key #2053

joshskains opened this issue Feb 8, 2018 · 2 comments · Fixed by #2077

Comments

@joshskains
Copy link

joshskains commented Feb 8, 2018

NGINX Ingress controller version:

master (Used yaml set from deployment instructions using RBAC enabled commands.

Kubernetes version (use kubectl version):

[root@kube-master1-1 ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T10:09:24Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T09:42:01Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

Environment:

  • Cloud provider or hardware configuration:

  • OS (e.g. from /etc/os-release): CentOS 7

  • Kernel (e.g. uname -a):
    [root@kube-master1-1 ~]# uname -a
    Linux kube-master1-1 3.10.0-123.el7.x86_64 Basic structure  #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  • Install tools: kubeadm

  • Others:

What happened:

jskains-mbp:.kube jskains$ kubectl logs nginx-ingress-controller-6844dff6b7-2lkjg -n ingress-nginx -c sysctl
net.core.somaxconn = 32768
sysctl: error: 'net.ipv4.ip_local_port_range' is an unknown key

What you expected to happen:

The ingress controller to start

How to reproduce it (as minimally and precisely as possible):

Follow deployment instructions

Anything else we need to know:

@cdenneen
Copy link

cdenneen commented Feb 8, 2018

OP using CentOS7

@joshskains
Copy link
Author

Fixed in main text. Sorry for missing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants