Taints and toleration's
kubectl taint nodes NODE_NAME LABEL_KEY:LABEL_VALUE:NoExecutekubectl taint nodes NODE_NAME LABEL_KEY-
- after the key will remove the key value from the taintstolerationSeconds will define how long the pods can run on a tainted node before being evicted.tolerations:
- key: "KEY"
operator: "Equal"
value: "VALUE"
effect: "NoExecute"
tolerationSeconds: 300
node.kubernetes.io/not-readynode.kubernetes.io/unreachablenode.kubernetes.io/out-of-disknode.kubernetes.io/memory-pressurenode.kubernetes.io/disk-pressurenode.kubernetes.io/network-unavailablenode.kubernetes.io/unschedulabletolerations:
- effect: NoSchedule
operator: Exists