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: cannot stat /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait: No such file or directory #4

Open
mordf opened this issue Jan 20, 2019 · 2 comments

Comments

@mordf
Copy link

mordf commented Jan 20, 2019

The following line in the Dockerfile:
sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait="1"

Results in this error:
sysctl: cannot stat /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait: No such file or directory

from a short investigation, the following kernel module doesn't exist in this location, also all of the kernel modules aren't located under /var/lib/modules/$(uname -r) but in /sys/module

@pepov
Copy link

pepov commented Jan 20, 2019

According to the docs net.* sysctls should be set through the securityContext of the Pod, but not guaranteed to work (depends on whether the cluster admin enabled it or not).

https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#setting-sysctls-for-a-pod

@mordf
Copy link
Author

mordf commented Jan 20, 2019

This happens only when I run docker build
I didn’t even try to run helm install

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

No branches or pull requests

2 participants