Kubernetes Pods

- Each pods consist of two or more containers.
- With the help of pods, we can deploy multiple containers together.
- We interact and manage containers with the help of pods.

Pod manifest


apiVersion

It defines the version of Kubernetes API you are using.

kind

It defines the kind of object is created.

metadata

Data that helps uniquely identify the object, including a name string, UID, and optional namespace.

spec

Spec can vary from object to object and it contains the fields or information specfic to the object.

Controllers in Kubernetes

- It watches the state of your cluster, then make or request changes where needed.
- Each controller tries tries to move the current cluster to state to the desired state.

next