The smallest useful Deployment declares replicas, a selector, and a Pod template.
Apply the manifest and watch the Deployment roll out.
Tags are mutable; digests are immutable and reproducible.
Changing the Pod template triggers a controlled rollout.
Scaling changes only the replica count, not the template.
Probes tell Kubernetes when a Pod is ready for traffic and when to restart it.
Resource requests drive scheduling; limits cap consumption.
Run as non-root with a read-only root filesystem to satisfy the restricted Pod Security Standard.
Topology spread constraints keep replicas from piling onto one node.
Watch a rollout, and undo it if it goes wrong.
Stack versions: This page was written for Kubernetes 1.36.2, Docker Engine 29.6.1 (BuildKit default), containerd (CRI runtime on nodes), Helm 3, Compose v2, Argo CD (latest - verify at build), and Gateway API (GA - verify controller support at build).