-
Notifications
You must be signed in to change notification settings - Fork 2.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
can not access pod from pod on different node #1098
Comments
I have the exact same issue, though I'm running 1.13.0. Calico works fine, but wanted to use flannel. just trying a simple pod to pod ping with no luck. |
@PatrickKutch Are you also using ubuntu 18? I managed to make it work by adding the network interface to the flannel.yml file:
The sed command is adding
Hope this solves it for you too. |
I am on Ubuntu 18. I am glad you got it working for yourself, however since I've many nodes in my cluster, with different networking devices on them, I don't see how specifying a device will work for me :-( |
@PatrickKutch Aren't it all Ubuntu 18 nodes with the |
Nope. None of my 20 boxes have that. Depends on what slot NIC sits and some other stuff. |
Good day. Posting in case this helps others. From #122:
I put this into a script I use to re-deploy the cluster (i.e.
Cheers! |
Having very similar problem two Ubuntus 20.04. One master one worker.
doesn't show any errors. Using VXLAN backends -
shows ports open on both public IPs. One of my nodes is behind NAT - but I've made a few steps to make flannel aware of it and use public IP interfaces on both of them. Nodes are in different hosting providers. I know VXLAN is probably not recommended in this setup since the encapsulated traffic is UDP and not encrypted. But still, should it work? I'm probably going to try other backends and see if they work. None of the advice in this thread as well as in troubleshooting helped in my case so far. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Expected Behavior
I have installed Kubernetes on Ubuntu 18. When I configure calico it works but I want to use flannel.
When I use flanned I'm not able to ping or curl to a pod on a different node. It works to a pod on the same node like here:
Version:
Current Behavior
Can not access pod on different node
Steps to Reproduce (for bugs)
Installed flannel
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
The cluster is running fine:
Cluster is created with:
kubeadm init --apiserver-advertise-address=192.168.20.101 --pod-network-cidr=10.244.0.0/16
Firewall:
I tried to add
iptables --policy FORWARD ACCEPT
on every node but it didn't help.additional info:
The text was updated successfully, but these errors were encountered: