Nightmares On Cloud Street
summary
Two concrete Kubernetes failure modes with demos and fixes: a kube-controller-manager loop where failed pods (triggered by a bad securityContext typo or requests > node capacity) cause continuous pod creation, saturating the API and etcd until the control plane times out — observed on a 3‑node GKE cluster producing ~100–250 pods; mitigation: resourceQuotas (count/pods) or a validating webhook/OPA. And a deleted-file write causing disk pressure where an app keeps writing to an unlinked file, filling ephemeral storage and forcing kubelet to randomly evict pods; mitigation: priorityClasses and fixing the app (POC provided).
AI-written summary · about
