-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
pod networking fails if net.ipv4.ip_forward=0 running on rootless podman #16962
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
It looks like this may affect rootless Docker as well. See #18667 (comment) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What Happened?
I am doing some testing with kind and minikube. I have run into a k8s networking issue which I am hoping someone with more experience can help explain.
I am running rootless podman on Pop_OS! which is based off Ubuntu. When I create a cluster using minikube, pod networking is not working. I initially thought this was a DNS issue but then when I looked at the coredns pod logs it tells me that it cannot reach
192.168.49.1:53: i/o timeout
.After further debugging I discover that by enabling
net.ipv4.ip_forward
it all works after recreating the cluster.What is confusing to me is when I use kind to create a cluster it works just fine without
net.ipv4.ip_forward
being enabled.From what I can tell minikube and kind are both using kindnet by default. I tried the bridge cni in minikube and it wouldn't work regardless of IP forwarding being enabled or disabled.
Is it intended to require
net.ipv4.ip_forward
to be enabled for minikube with rootless podman to work?How is kind able to work with
net.ipv4.ip_forward
disabled?Attach the log file
log.txt
Operating System
Ubuntu
Driver
Podman
The text was updated successfully, but these errors were encountered: