kubectl taint nodes
Jump to navigation
Jump to search
kubectl taint nodes (k8s ref, map
kubectl taint nodes node1 key1=value1:NoSchedule
- The effect must be
NoSchedule, PreferNoSchedule or NoExecute
kubectl get events your-namespace 22s Warning FailedScheduling pod/your_elasticsearch-master-1 0/8 nodes are available: 1 Insufficient cpu, 1 node(s) had taint {risk: etl}, that the pod didn't tolerate, 1 node(s) were unschedulable, 3 node(s) had taint {NAME: run-your-command}, that the pod didn't tolerate, 7 node(s) had volume node affinity conflict.
Related[edit]
Related[edit]
See also[edit]
Advertising: