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
Cannot ping pods from different minions #9580
Comments
Hi, already got the issue and fixed. somehow at some step the flannel0 was removed from the routing table in one of the minions, so adding it fixed the issue. Thanks. |
@moix thanks for the detailed bug report anyway |
@moix : I am facing the same issue, I am unable to ping the pods on a different node. |
Hi @suyogbarve, in my case it was a problem in one node related to flannel interface was removed from routing table. |
@moix I'm having the same problem. Docker is not running with --bip. Should it be? |
Hi @thuey, yes flannel should configure docker service in nodes with that option so each node uses a different network in the range configured in etcd (18.16.0.0/16 in this case) |
i am also face this problem please some one give me clear simple answer. |
Hi, I've been for a couple of weeks trying to setup a kubernetes cluster in centos with etcd and flanneld following current getting started guidelines (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/centos/centos_manual_config.md) and all the information I could find out in the repostory and other sources from google, so far still couldnt find how to make it work :(
Sorry for the length of the ticket but I want to detail every configuration:
My setup has 3 servers:
host file is updated in all of them so they can ping each other.
The problem is when I try to ping to pod ips from different minions. Following all the relevant information:
configuration and tests in centos-master
packages installed
configuration files for kubernetes and etcd
- /etc/kubernetes/apiserverprocesses running in centos-master
output from some kubectl commands
After creating a couple of simple rc:
configuration and tests in centos-minion1 (same for centos-minion2)
packages installed
configuration files for kubernetes and flannel
- /etc/kubernetes/configprocesses running in minions
And now the problem: I can ping ips to other pods within the same minion but when I pinging from pods in different minions:
ping from busybox1-59sm9 in centos-minion1 (pod ip 18.16.98.21) to busybox2-zoisy in centos-minion2 (pod ip 18.16.37.39)
I'm not sure what else I can try, I'm a bit lost with all the different guidelines in the documentation but not sure which one is more accurate and what can be failing in my setup.
Any clue what can I check, thanks!
The text was updated successfully, but these errors were encountered: