Member-only story
Demystifying Kubernetes Networking — Episode 2
In this episode 2, we will look at the Kubernetes Secret Recipe — The Pause Container!
In the last episode of Demystifying Kubernetes Networking, we learnt about Linux network namespace & its relevance in Kubernetes.
Its the Linux network namespace that gives Kubernetes pods (containers), the needed network isolations & at the same time enables the containers inside a pod to be able to talk with each other!
But how does Kubernetes implements this? Because POD in reality is just a logical construct? How does it work on the machine? That’s a question we’re going to explain in today’s episode!
Video edition of this article —
https://sanjimoh.medium.com/s1e02-kubernetes-networking-series-dd97573e236f
Let’s start with a small exercise.
Login to one of the nodes of a Kubernetes cluster and then execute docker ps -a
command and take a look at the output. Did you see containers with “/pause” command in the output? (something similar to below screenshot)