Pods

Pods are the smallest deployable units of computing that you can create and manage in Kubernetes.

Thee contents of a pod can consist of a group of containers or a single container.

Pod Analogy

Create Pods

kubectl run pod <pod-name> --image <-image-name>:<image-tag>
kubectl run pod nginx --image nginx:alpine

Create pod with manifest

kubectl run pod nginx-manifest --image nginx:alpine --dry-run=client -o yaml > pod-nginx.yaml
kubectl create -f pod-nginx.yaml