-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
[BUG] open /proc/sys/net/netfilter/nf_conntrack_max: permission denied #612
Comments
I am seeing the same issue. running: k3d cluster create k3s-local -v /dev/mapper:/dev/mapper -a 3 -p 8081:80@loadbalancer k3d --version docker --version docker version Server: Docker Engine - Community cat /etc/os-release |
Hi @farzadmf , thanks for opening this issue! Your kernel version didn't match, so I quickly looked up the Feel free to reopen, if you think this is something different or you need more support 👍 |
Thank you so much @iwilltry42 for the FAQ link; it's working now 👍 Also, looking at the FAQ, I see that k3s-io/k3s#3337 has been merged, so I thought it should be fixed in |
This seems to work: k3d cluster create \
--k3s-server-arg '--kube-proxy-arg=conntrack-max-per-core=0' \
--k3s-agent-arg '--kube-proxy-arg=conntrack-max-per-core=0' \
--image rancher/k3s:v1.20.7-k3s1 |
@farzadmf , actually the team just had to release a new version after they merged that PR: https://github.com/k3s-io/k3s/releases/tag/v1.20.7%2Bk3s1 (btw: it was backported to some earlier versions as well). You can choose the image that k3d uses via k3d cluster create @jtyr , with |
I can confirm that I can create cluster with the only additional parameter |
I just created a cluster w/ the new 1.20.7 k3s, but seeing error in the cluster....
not sure this is a upstream issue or my local setup (fedora 34, docker)
|
@admun this seems to be an issue with the network in your setup. |
I actually has firewalld turned off... will debug further |
This also affects the installation of rancher on a single node using docker |
@ppicom , can you elaborate? What's up there? Which part of the issue is causing your problem and is it solved with one of the suggestions? |
@ppicom @iwilltry42 I had the same issue on a single node docker installation and this was the workaround -> rancher/rancher#33300 (comment) |
What did you do
How was the cluster created?
k3d cluster create --kubeconfig-update-default=false
What did you do afterwards?
kubectl get nodes
gives the following output (with a noticeable delay):kubectl get pods
gives the following output (with even a longer delay):and this:
docker logs k3d-k3s-default-server-0 2>&1| tail -10
gives the following outputOS operations (e.g. shutdown/reboot)? Not directly, but have been having this situation for a while
What did you expect to happen
I expect the cluster to be created successfully
Which OS & Architecture
Manjaro Linux, output of
uname -r
:5.11.19-1-MANJARO
Which version of
k3d
k3d version
:Which version of docker
docker version
anddocker info
The text was updated successfully, but these errors were encountered: