Interview Prep/Kubernetes/Reliability & Rollouts

What are the must-have settings for a production Deployment?

BeginnerProductionReliability & Rollouts
Answer

At least 2 replicas with topology spread, readiness and liveness (and startup if slow) probes, CPU/memory requests and a memory limit, a PDB, terminationGracePeriodSeconds tuned to the app, a non-root securityContext, an immutable image tag or digest, and maxUnavailable: 0 or a low value for rollouts. Missing any of these shows up as an outage eventually.

All Kubernetes questions

More on Reliability & Rollouts