Category
Workload design
Resource requests and limits, disruption budgets, health probes, graceful shutdown — the difference between running and running well.
3 articles
Topology spread constraints vs. pod anti-affinity
Replicas only protect you when they sit on different nodes and in different zones, and the scheduler doesn't guarantee that by default. This article compares pod anti-affinity with topology spread constraints, shows where each one stops working, and gives two baseline configurations for zone and node spreading.
Read article →Graceful shutdown: why SIGTERM handling matters more than you think
Every rollout, scale-down and node drain stops pods that were working fine, and each stop can drop requests if the application ignores SIGTERM or exits before the cluster has stopped routing to it. This article walks through the termination sequence, the endpoint race and the preStop sleep that closes it, and how to size the grace period for services, workers and sidecars.
Read article →Health probes done right: liveness, readiness and startup
A liveness probe that fails for the wrong reason restarts healthy containers, and it can do so when the service is under the most load. This article covers what each probe does on failure, the mistakes to look for in your manifests, a baseline configuration, and when the right liveness probe is none at all.
Read article →