Pods in Kubernetes

What is Pod?

A pod is the smallest execution unit in Kubernetes.

Atomic unit of scheduling in kubernetes.

Pod Contains:

Pod can have multiple containers . All the containers inside the pod will share same enivronment.

Pods Keeps on running as long as as the containers inside the pods are running. If atleast one container fails working pods stops working.

LIFECYCLE OF POD

Pod Life cycle consists of following phases

Types of Pods

1.Single Container pod

2.Multi-Container pods- pods that contain two or more related containers that have same enviroment i.e, it shares network space, volume etc.