Pod management
Before we start managing Pods, we must learn what they are and how to deploy them.
Essentially, Pods are the smallest deployable units of computing that can be created and managed in Kubernetes. A Pod is a group of one or more containers, such as Docker containers. Pods share network and storage resources and represent an instance of a running process in the Kubernetes cluster.
Once clusters and node pools are ready, we will mainly work with Pods, and in the next sections, we will learn in detail about their lifecycle and possible operations.
Pod lifecycle
Pods go through a specific sequence of stages throughout their lifecycle. It begins with the Pending
phase, progresses to the Running
phase if at least one of its primary containers starts successfully, and ultimately transitions to either the Succeeded
or Failed
phase based on whether any container within the Pod terminates with a failure.
Pods can have the following statuses:
Pending
—...