Forum Navigation
You need to log in to create posts and topics.

Error: node(s) had untolerated taint .preemption: 0/3 nodes are available:

Problem

User tries to schedule ingress / pod / svc on cluster and gets the following error

3 node(s) had untolerated taint {node.kubernetes.io/unreachable: }. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling.

Solution

Remove the taints on the master so that you can schedule pods on it.

kubectl taint nodes –all node-role.kubernetes.io/master-
# Or from specific Node
kubectl taint nodes <NODE NAME> dedicated=special-user:NoSchedule

# You can add taint to control plane to disable pod scheduling 
kubectl taint nodes <NODE NAME> node-role.kubernetes.io/control-plane:NoSchedule-

#Or remove taint from control plane
kubectl taint nodes –all node-role.kubernetes.io/control-plane- node-role.kubernetes.io/master-