Founding prices until 15 December: 30% off Pro, locked for life. See pricing

$ … 0/3 nodes are available: 1 node(s) had untolerated taint

'node(s) had untolerated taint': taints and tolerations

The only nodes with room are tainted, and the Pod doesn't tolerate the taint.

Kubernetes

What it means

A taint keeps Pods off a node unless they tolerate it. Control-plane nodes are tainted by default, and teams taint nodes reserved for special workloads.

Causes and fixes

Most likely first. Run the check, and if it matches, apply the fix.

1. The Pod should run there but lacks the toleration

Check:

kubectl describe nodes | grep -i taints

Fix: Add a toleration with the same key, value and effect to the Pod template.

2. A taint left over from maintenance (node.kubernetes.io/unschedulable, a custom key)

Check:

kubectl get nodes -o custom-columns=NAME:.metadata.name,TAINTS:.spec.taints

Fix: Remove it with kubectl taint nodes <node> <key>- (or uncordon).

Fix it yourself

A live machine in your browser with this problem already on it. The grader checks the result.

Open the lab

No account needed for your first tries.

Related errors