====== Deployment ====== A Deployment manages Pods and ensures they run correctly. --- ===== What it does ===== * Creates Pods * Maintains number of replicas * Handles updates (rolling update) * Supports rollback --- ===== Example ===== You define: replicas: 3 image: nginx Kubernetes ensures: * 3 pods always running * Replace failed pods automatically --- ===== Real-world analogy ===== Deployment = "manager of workers" It ensures: * Enough workers exist * Workers are updated safely --- ===== Key idea ===== You never manage Pods directly in production. You manage Deployments instead.