Let’s explain the notion of Pods
In this section, we will explain the concept of Pods from a theoretical point of view. Pods have certain peculiarities that must be understood if you wish to master them well.
What are Pods?
When you want to create, update, or delete a container through Kubernetes, you do so through a Pod. A Pod is a group of one or more containers that you want to launch on the same machine, in the same Linux namespace. That’s the first rule to understand about Pods: they can be made up of one or more containers but all the containers that belong to the same Pod will be launched on the same worker node. A Pod cannot and won’t ever span across multiple worker nodes: that’s an absolute rule.
But why do we bother delegating the management of our containers to this intermediary resource? After all, Kubernetes could have a container resource that would just launch a single container. The reason is that containerization invites you...