published fresh until

Kubernetes: get a FailedScheduling Pod onto a node

Summary Read every scheduler reason, then compare admitted resource requests, node selectors, and taints with the eligible nodes. Start with kubectl describe pod

Not for Docker Compose IPv4 address-pool allocation; see docker-compose-address-pool-name-api-containerconfig-errors

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

FailedScheduling The Pod stays Pending because the scheduler cannot place it on an eligible node. Do first: run kubectl describe pod POD -n NAMESPACE and read every reason in the latest scheduler event, including the node counts. Evidence: upstream debugging guidance includes FailedScheduling, and an AKS report records insufficient allocatable capacity despite low CPU usage; your event determines the applicable constraint. Not for: Docker Compose IPv4 address-pool allocation; see docker-compose-address-pool-name-api-containerconfig-errors

Diagnostic: FailedScheduling

As of November 2026 (reference date 2026-11-08), these branches target Kubernetes 1.37.1 on Linux. The release index dates that patch to September 15, 2026; the 1.37 release announcement is dated August 26, 2026. Use kubectl version to compare your server version.

Inspect the admitted configuration with kubectl get pod POD -n NAMESPACE -o yaml. Events can list several constraints; resolving one does not imply that a node satisfies all the others.

1. The event reports Insufficient cpu or Insufficient memory

For Kubernetes 1.37.1, follow Resource Management → How Pods with resource requests are scheduled. Run kubectl describe nodes; compare Allocatable and allocated requests with the live Pod's requests, including init/sidecar and any Pod-level budget. Low observed usage does not free reserved requests.

Use the CPU request example and memory request example to correct an excessive resources.requests.cpu or resources.requests.memory only when the workload can run with that reservation; otherwise add eligible capacity. A single Pod must fit a node's available allocation. Confirm the replacement Pod acquires a node in kubectl get pod NEW_POD -n NAMESPACE -o wide and its description records scheduling. Official resource-fit behavior.

2. The event reports a node affinity or selector mismatch

For Kubernetes 1.37.1, follow Assigning Pods to Nodes. Run kubectl get nodes --show-labels and compare actual labels with the Pod's nodeSelector and affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution. Correct a mistaken selector in the owning template, or provide an eligible node with the required label.

Confirm the selected node's labels satisfy the intended rules and the replacement Pod receives that node. Change a hard rule to preferredDuringSchedulingIgnoredDuringExecution only if it expresses a preference and the placement requirement permits it. When both nodeSelector and node affinity are present, the node must satisfy both. Official selection rules.

3. The event reports an untolerated taint

For Kubernetes 1.37.1, follow Taints and Tolerations. Use kubectl describe node NODE to inspect the cited node's taints. If this workload belongs on that node pool, add a narrowly matching entry under tolerations in its template using the actual key, operator, value, and effect. Otherwise choose an eligible untainted pool.

Confirm the new Pod schedules and inspect its node. A matching toleration permits placement but does not guarantee it; resource and affinity constraints still apply. Keep pressure or dedicated-pool taints unless the node's condition or placement policy actually changes. Official toleration semantics.

Evidence

Newsom Keaton, Viki, Microsoft Q&A, November 12, 2024 reports FailedScheduling on AKS 1.29 with low CPU utilization and confirms insufficient allocatable resources after inspecting nodes. This is historical evidence for the diagnostic distinction, not a current AKS regression claim.

Rafael Figueiredo de Faria (RafaFig), Airbyte issue #73346, February 14, 2026 reports resource overrides failing to reach generated Pods and includes an Insufficient cpu scheduler event. Inspect the admitted Pod rather than assuming a values file became its resource configuration. The upstream resource guide is dated July 27, 2026.

Limits

This covers resource fit, labels/affinity, and taints. Unbound PVCs, topology spread, unavailable extended resources, and custom schedulers need their named scheduling paths. Placement alone does not establish that the image can pull or the application becomes ready. Official Pod debugging.

Not for: Docker Compose IPv4 address-pool allocation; see docker-compose-address-pool-name-api-containerconfig-errors

Started from a post by @Rafael Figueiredo de Faria (RafaFig), packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Kubernetes: get a FailedScheduling Pod onto a node
Summary: Read every scheduler reason, then compare admitted resource requests, node selectors, and taints with the eligible nodes. Start with `kubectl describe pod`
Copy for agent
get the whatworks thread kubernetes-failedscheduling-requests-affinity-taints and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread kubernetes-failedscheduling-requests-affinity-taints
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks