McKube 0 requests sent

Kubernetes Pod Errors & Exit Codes (14)

Deterministic root causes, cgroup explanations, and exact kubectl commands.

Exit 137 / OOMKilled

Kubernetes OOMKilled (Exit Code 137)

Why containers die with Exit Code 137, how Linux cgroup OOM differs from SIGKILL shutdowns, and exact memory limit fixes.

CrashLoopBackOff

Kubernetes CrashLoopBackOff Triage

Step-by-step triage for containers stuck in exponential restart backoff (10s to 5m).

ImagePullBackOff

ImagePullBackOff & ErrImagePull Fix

Fix missing imagePullSecrets, invalid tags, private registry auth 401/403, and Docker Hub rate limits.

Pending (Memory)

Pod Pending: Insufficient Memory

Why kube-scheduler leaves Pods Pending on nodes that appear idle in top, and how initContainers requests affect scheduling.

Pending (CPU)

Pod Pending: Insufficient CPU

Diagnose CPU request over-allocation, kubelet system reserve, and bin-packing fragmentation.

CreateContainerConfigError

CreateContainerConfigError Fix

Resolve missing ConfigMaps, missing Secrets, and misspelled envFrom / secretKeyRef keys.

runAsNonRoot Error

Container Has runAsNonRoot & Image Runs as Root

Fix Pod Security Standards Restricted rejection when an image defaults to UID 0.

Exit 139 / SIGSEGV

Kubernetes Exit Code 139 (SIGSEGV)

Root causes for segmentation faults in containers: amd64/arm64 mismatch, musl vs glibc, and native memory bugs.

Exit 143 / SIGTERM

Kubernetes Exit Code 143 (SIGTERM)

Understanding graceful SIGTERM exits during rolling updates, preemption, and liveness probe kills.

Evicted (Disk)

Pod Evicted: Ephemeral Storage Pressure

Fix node DiskPressure evictions caused by unrotated logs, temp files, or missing ephemeral-storage limits.

FailedMount / PVC

FailedMount & Multi-Attach Volume Error

Resolve ReadWriteOnce (RWO) volume Multi-Attach deadlocks during RollingUpdate deployments.

Liveness Failed

Liveness & Readiness Probe Failure Loop

Stop cascading restart storms caused by slow startup times or database checks inside livenessProbe.

Untolerated Taint

Pod Pending: Had Untolerated Taint

Understand GPU, control-plane, and dedicated node pool taints and matching tolerations.

Removed apiVersion

Removed Kubernetes apiVersion Migration

Upgrade extensions/v1beta1, batch/v1beta1, policy/v1beta1, and networking.k8s.io/v1beta1 before cluster upgrades.