Hi Team, I have a question can you tell me about the Function of kube-proxy the . . .

Indra:
Hi Team,
I have a question can you tell me about the Function of kube-proxy
the communication between different containers within the cluster.
By Cluster, does it mean in the same worker nodes or different worker nodes.

Alistair Mackay:
It means both.
A pod does not need to know which worker it is on or any other pod is on. The cluster networking makes this transparent. Exactly how this works at a technical level is not required knowledge for the exam.
In the context the word “Cluster” means the entire Kubernetes deployment of controlplane and all workers.

Indra:
okay so kube-proxy we can say communication between different containers be it on worker node or master node @Alistair Mackay

Alistair Mackay:
There are two virtual networks in a cluster. Pods and Services.
the kube-proxy pods maintain these networks across all nodes of the cluster.

Kishore Kumar Vaishnav:
• A cluster contains set of nodes (1 or many workers & 1 master)
• A node contains set of pods (1 or many)
• A pod contains set of containers (1 or 2 or few)
And kube-proxy helps to communicate the nodes to other nodes within the same cluster. And these nodes inturn communicate with services & which in-turn communicate with appropriate pods, and pods direct the communication to the individual containers thru ports.
Is my understanding correct ? @Alistair Mackay

Alistair Mackay:
From a conceptual level, that’s pretty much it.
|The first point should be
> A cluster contains set of nodes (1 or many workers & 1 or more masters)
See the lecture on High Availability (section Design and Install a Kubernetes Cluster)

Indra:
Got it Thank you :slightly_smiling_face:

Indra:
@Alistair Mackay & @Kishore Kumar Vaishnav