Create and Scale Deployments in Kubernetes

From the Kubernetes Essentials cheat sheet ยท Deployments and Rollouts ยท verified Aug 2026

Create and Scale Deployments

Manage stateless replicated workloads.

bash
kubectl create deployment web --image=nginx:1.29
kubectl scale deployment web --replicas=3
๐Ÿ“Œ Deployments manage ReplicaSets and Pods
๐Ÿ’ก Use declarative manifests for production
๐Ÿ” Scaling changes desired replica count
โš ๏ธ HPA needs a metrics provider
deploymentscalereplicas

Continue with Kubernetes Essentials

Save the full cheat sheet or work through every related task.

More Kubernetes tasks

Back to the full Kubernetes Essentials cheat sheet