1. what is POD?
Answer: POD is logical entity of container. pod contains many containers. All containers in pod share single IP but different ports. pod lifecycle contains different stages i.e. pending, running, failed. To make pod work we need to have Yaml files and that is declarative model and mention about requirement in yaml file.
the phase of pod goes from VM->container->POD
Pod spread across both master node and worker node. To get all pods we need to use
kubectl get pods command.
pod has different combinations like
1 pod with single conatainer
1 pod with multiple containers
1 pod with 1 worker
multiple pods with 1 worker.
Top comments (0)