Kubernetes Workload Pitfalls

Use when a Kubernetes Deployment, StatefulSet or pod template is written or reviewed for runtime behaviour: liveness, readiness and startup probes (what each may check, why liveness must not depend on a database, readiness and dependencies as a decision), graceful shutdown (endpoint removal is asynchronous, preStop, terminationGracePeriodSeconds, signals reaching PID 1), resource requests and limits (memory limit, the CPU limit as a decision, QoS and eviction, ephemeral storage) and rolling updates (maxUnavailable and maxSurge, minReadySeconds, mixed versions, latest tag, imagePullPolicy).

techmefr Updated

File contents

techmefr/mentis commit 10872d3647

Frequently asked questions

npx get-skill add techmefr/kubernetes-workload-pitfalls