I'm looking for some advice.
I've created my Kubernetes cluster, with multiple worker nodes and the control plane. I've also executed multiple pods with docker images.
What I'm looking for now is to make two pods, located on different nodes, communicate with each other. What is the easiest way to make it happen? I can figure out the details once I know how to do that, but I've tried to set up a pod running up as a service and then accessing its IP:port from the browser, to no avail. I've tried using the cluster IP, the Node IP, but that just doesn't work.
So say I want to send data x from the docker image running in Pod A, located in Node A, to Pod B in Node B. Then I want the program located in Pod B to process that data. How would you proceed?
Thanks in advance.
question from:
https://stackoverflow.com/questions/66051630/how-to-make-two-pods-located-on-different-kubernetes-nodes-communicate 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…