What is Pod?
- Pod is the smallest entity of Kubernetes.
- Pod life cycle is – Pending, Running, Failed.
- Pod can’t be created they can only be instantiated.
- Pod can be configured in multiple ways eg. 1 pod having 1 container, 1 pod having 2 container , 1 cluster having 2 or more containers
- Ip is assigned to pod all containers in pod will have same IP address.
- In same pod having similar or same container is bad design.
- Containers inside the pod can communicate through localhost or with pod IP.
- To access the container, use the pod IP with port to access application.
- Pod can’t be deleted or paused.
- Pod helps us in scaling the application.
- Pod is instantiated by kubelet.
- Pod can we instantiated using the yml file.
- Type = pod will specify the yml to create pod.
Top comments (0)