Skip to content
Agentmart
Submit a tool

pod-pending-debug

Diagnose pod scheduling failures (Pending, Unschedulable).

Skill by scitix

IndexedApache-2.0★ 238
Write a review

Chalk Labs

Need help deploying pod-pending-debug?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/scitix-pod-pending-debug

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnose pod scheduling failures (Pending, Unschedulable). Checks events, node resources, taints, affinity, and PVC bindings to identify why a pod cannot be scheduled.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pod-pending-debug

What's inside

Skill name
pod-pending-debug
Description
Diagnose pod scheduling failures (Pending, Unschedulable). Checks events, node resources, taints, affinity, and PVC bindings to identify why a pod cannot be scheduled.
License
Apache-2.0
Instructions
174 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Pod Scheduling Failure Diagnosis

When a pod is stuck in `Pending` state, follow this flow to identify why the scheduler cannot place it on a node.

**Scope:** This skill is for **diagnosis only**. Once you identify the root cause, report it to the user and stop. Do NOT attempt to modify node taints, labels, or pod specs — that should be left to the user.

## Diagnostic Flow

### 1. Read the pod and its events — one call

```
k8s_inspect(kind: "pod", name: "<pod>", namespace: "<ns>")
```

The scheduler's `FailedScheduling` event carries the reason, and this returns the pod's events
alongside its phase and container states in a single call.

Two things to read carefully:
- The `FailedScheduling` message — it says how many nodes were evaluated and why each was rejected,
  and that count is what separates "no capacity anywhere" from "one taint on one node". The compact
  bundle keeps substantially more of long scheduler messages, but if a line ends in `…`, fetch that
  event with `kubectl get events` or `kubectl describe pod` before concluding from the missing tail.
- The final `status:` line. `partial (events: …)` means the events could not be read at all — nothing
  below applies until that is fixed.

An **empty** events section is not a conclusion. Events expire on a TTL (commonly one hour), so zero
events means *none are retained*, which covers two opposite situations:

- the scheduler never spoke — a missing scheduler, an admission webhook, or a `schedulerName` nothing
  is servicing. Reachable, and a different problem from every pattern below.
- the scheduler spoke long ago and the record aged out. **This is the likely one for a pod that has
  been Pending for hours**, i.e. exactly when the events are empty.

Use the pod's own `PodScheduled` condition to tell them apart — it is part of the object, so it does
not expire. `PodScheduled=False (Unschedulable: …)` carries the scheduler's verdict and its message
survives the event that first reported it; if the pod has no `PodScheduled` condition at all, the
scheduler genuinely has not processed it. Read the pod's age against the cluster's event retention
before treating an empty section as evidence of anything.

If the message names a specific node, read that node the same way:

```
k8s_inspect(kind: "node", name: "<node>")
```

Reach for `kubectl describe pod <pod> -n <ns>` when you need the pod's affinity rules, tolerations or
volume declarations verbatim.

### 2. Match scheduling failure and investigate

Match the `FailedScheduling` message against the patterns below.

---

#### `Insufficient cpu` / `Insufficient memory` — Not enough resources

No node has enough allocatable CPU or memory to satisfy the pod's resource requests.

Check node resource usage:

```bash
kubectl top nodes
```

Check what the pod is requesting:

```bash
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.containers[*].resources.requests}'
```

Advise the user to either reduce the pod's resource requests, scale up existing nodes, or add new nodes to the cluster.

---

#### `didn't match Pod's node affinity/selector` — Node affinity/selector mismatch

The pod has a `nodeSelector` or `nodeAffinity` that no available node satisfies.

Check the pod's node selection criteria:

```bash
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.nodeSelector}'
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.affinity}'
```

Check available node labels:

```bash
kubectl get nodes --show-labels
```

Advise the user to either update the pod's selector/affinity or add the required labels to appropriate nodes.

---

#### `had taint` ... `that the pod didn't tolerate` — Taint/toleration mismatch

Nodes have taints that the pod does not tolerate.

Check node taints:

```bash
kubectl get nodes -o custom-columns='NAME:.metadata.name,TAINTS:.spec.taints[*].key'
```

Check the pod's tolerations:

```bash
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.tolerations}'
```

Advise the user to either add the appropriate toleration to the pod or remove the taint from a node.

---

#### `persistentvolumeclaim` ... `not found` / `not bound` — PVC issue

The pod references a PVC that does not exist or is not bound to a PV.

From scitix/siclaw, Apache-2.0.

More from scitix/siclaw

Signals

Stars
238
Forks
32
Open issues
16
Last commit (this folder)
Aug 24, 2026 (2 months ago)
Last release
Sep 14, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
Website
siclaw.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from scitix

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get pod-pending-debug running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying pod-pending-debug?

CallGet help
Cite this page

pod-pending-debug skill. Agent Mart. https://agentmart.dev/skills/scitix-pod-pending-debug (last updated 2026-10-24)