Kubernetesexit code > 0

Pod status: Pending

$Status: Pending

Analysis

The Pod has been accepted by the cluster but cannot be scheduled onto a node.

Common Triggers

  • Insufficient resources (CPU/RAM) in the cluster.
  • Taints on nodes preventing scheduling.
  • Unsatisfied NodeSelector or Affinity rules.

Debug Checks

  • $Describe pod to see events: kubectl describe pod <pod_name>.

Resolution

1
Add more nodes (scale up).
2
Reduce resource requests in YAML.
3
Adjust node affinity/taints.