🔗 Prerequisite: Chapter 02 (Scheduling, affinity, taints) — ✅ you’ve mastered it!
Learn what a Deployment is and how to create one.
deployment-one.yml
→ Your first basic Deployment (replicas, pod template, labels).
imperative-deployment.sh
→ Create Deployment via kubectl create deployment (CLI vs YAML).
declarative-deployment.yaml
→ Full declarative YAML (best practice for GitOps).
Control how updates roll out (rolling update, recreate, canary).
deployment-with-strategy
→ Customize update strategy (RollingUpdate vs Recreate), maxSurge, maxUnavailable.
deployment-different
→ Likely shows different update scenarios (e.g., image change, env update).
Apply Chapter 02 concepts to Deployments (affinity, anti-affinity).
deployment-using-affinity.yaml
→ Node affinity in Deployment (e.g., prefer SSD nodes).
deployment-with-anti-affinity.yaml
→ Pod anti-affinity to spread replicas across nodes (critical for HA!).
Expose Deployments internally/externally.