Member-only story
POD — Kubernetes
A Kubernetes pod is a collection of one (or) more Linux® containers and is the smallest unit of a Kubernetes application.
Pods are Kubernetes Objects that are the basic unit for running our containers inside our Kubernetes cluster. Pods are the smallest object of the Kubernetes Model.
Kubernetes uses pods to run an instance of our application and a single pod represents a single instance of that application. We can scale out our application horizontally by adding more Pod replicas.
Pods can contain a single (or) multiple containers as a group, that share the same resources within that Pod (storage, network resources, namespaces). Pods typically have a 1–1 mapping with containers, but in more advanced situations, we may run multiple containers in a Pod.
Pods are ephemeral resources, meaning that Pods can be terminated at any point and then restarted on another node within our Kubernetes cluster. They live and die, but Pods will never come back to life.
Running a single container in a Pod is a common use case. Here, the Pod acts as a wrapper around the single container and Kubernetes manages the Pods rather than the containers directly.