May 2018
Intermediate to advanced
554 pages
13h 51m
English
When launching a Pod, the Kubernetes scheduler dispatches to the kubelet process to handle all the operations to launch both nginx and CentOS containers on one Kubernetes node.
The following diagram illustrates these two containers and the Pod; these two containers can communicate via the localhost network, because within the Pod containers, it share the network interface:

If you have two or more nodes, you can check the -o wide option to find a node which runs a Pod:
//it indicates Node "minikube" runs my-first-pod $ kubectl get pods -o wideNAME READY STATUS RESTARTS ...
Read now
Unlock full access