This is a shortened successful troubleshooting run with redacted identifiers.
/oke-agent-plugin:oke-troubleshooter "pods stuck Pending in prod namespace"
User: Pods are stuck Pending in the prod namespace.
Agent: I mapped the symptom to Pod scheduling, Node health, Cluster Autoscaler,
and OCI limits. I will collect read-only evidence with kubectl and OCI CLI.
Agent: Evidence collected:
kubectl -n prod get pods --field-selector=status.phase=Pending -o widekubectl -n prod get events --field-selector reason=FailedSchedulingkubectl -n kube-system logs deployment/cluster-autoscaler --tail=200oci ce node-pool list --compartment-id <compartment_ocid> --cluster-id <cluster_ocid>
Agent: Findings:
| Hypothesis | Score | Evidence |
|---|---|---|
| Node pool max size reached | 9 | FailedScheduling reports insufficient CPU; autoscaler logs show max node group size reached |
| OCI compute capacity or quota limit | 5 | No direct quota error found, but scale-out was blocked |
Agent: Next steps:
kubectl -n prod describe pod <pending-pod>
oci ce node-pool update --node-pool-id <node_pool_ocid> --size <larger_size>