Summary Cheat Sheet
| Concept | Key Takeaway |
| Deployment | Stateless, rolling updates, ReplicaSets |
| StatefulSet | Stable identity, per-Pod storage, ordered |
| DaemonSet | One Pod per node |
| Job | Runs to completion |
| CronJob | Scheduled Jobs |
| Pod Phases | Pending → Running → Succeeded/Failed |
| Container States | Waiting → Running → Terminated |
| Startup Probe | Slow start; disables other probes |
| Liveness Probe | Restart on failure |
| Readiness Probe | Remove from service on failure |
| Init Containers | Sequential setup |
| Native Sidecar | Init container with restartPolicy: Always |
| Ephemeral Container | Debug without restart |
| PostStart | Runs after container starts |
| PreStop | Runs before SIGTERM |
| Graceful Shutdown | preStop + SIGTERM + grace period |
| terminationGracePeriodSeconds | Wait before SIGKILL (default 30) |
| PDB | Limits voluntary disruptions |
| QoS | Guaranteed > Burstable > BestEffort |
| PriorityClass | Scheduling and preemption priority |
1:1 copy of the class Google Doc, code in code blocks.