Resolving the 0/10 nodes are available - node(s) had untolerated taint error
Issue description
When launching a pod in your Managed Service for Kubernetes cluster, you see this error:
0/10 nodes are available: X node(s) had untolerated taint
Where X is the number of Managed Service for Kubernetes cluster's affected nodes.
Solution
This error occurs when a node in the cluster is labeled as taint, which is incompatible with the requirements of the apps scheduled to run on it. A taint is a node label that means that certain pods cannot be scheduled on that node unless they meet specific conditions.
To resolve this issue, you can either modify the node label so that the pods are allowed to run on it, or update the pod settings to match the node label.
Additionally, we recommend reviewing the pod's tolerations and verifying the node's nodeSelector or nodeAffinity settings. Also, check your Managed Service for Kubernetes quotas and resource limits to make sure your nodes have sufficient resources available.
If the issue persists
If the above actions did not help, create a support ticket
- Managed Service for Kubernetes cluster ID.
- Managed Service for Kubernetes cluster event log:
kubectl get eventsoutput. - Cluster node specification:
kubectl describe node $NODE_NAMEoutput, where$NODE_NAMEis the affected node name. - Specifications of all affected pods in your cluster:
kubectl describe node $POD_NAMEoutput for each of those pods, where$POD_NAMEis the pod name.