Home > other >  K8s a node can access another node of the cluster IP, pod IP?
K8s a node can access another node of the cluster IP, pod IP?

Time:10-11

I am using nodeport created service, can be in other places through the curl node IP + port to access, but the cluster IP and pod IP can't, if it is in this node, the three can access,

CodePudding user response:

Your services to build the image, released into the container

CodePudding user response:

reference 1st floor andylei response:
your service to build the image, released into the container it


I am with rc created two pod, and then through the service tag selector to the rc, use nodeport exposed port access, no other operation, the machine can be three IP access, other nodes can node IP access or change the default firewall strategy I used to visit after all to accept, at first is also a timeout, cluster and pod IP can't visit, curl is timeout

CodePudding user response:

Pod is not of this node, other nodes IP access to the pod, need to depend on the cni network plugin works, such as flannel calico weave and so on, check that they are working properly, visit the cluster IP also needs the cni network plug-in can work normally

CodePudding user response:

The building Lord solved

CodePudding user response:

Install the flannel
  • Related