Why I cant access a kubernetes pod from other Nodes IP? Why I cant access a kubernetes pod from other Nodes IP? kubernetes kubernetes

Why I cant access a kubernetes pod from other Nodes IP?


Ideally you should be able to access a pod via NodePort using any of the nodes IP. If kube-proxy or CNI Plugin(calico etc) are not working properly in your cluster then it can cause the problem where pod is not reachable via a Nodes IP on which the Pod is not scheduled.

Check this related question kubernetes: cannot access NodePort from other machines


Because you have only one pod on 10.1.10.110

Your curl is wrong, you didn't deploy a pod on 111 and 112 nodes, this is the reason that the endpoints aren't working. Just execute curl http://10.1.10.110:31520 on the other nodes and it will work