InterviewSolution
Saved Bookmarks
| 1. |
If a node is tainted, is there a way to still schedule the pods to that node? |
|
Answer» When a node is TAINTED, the pods don't get scheduled by DEFAULT, however, if we have to still schedule a pod to a tainted node we can start applying tolerations to the pod spec. Apply a taint to a node: kubectl taint NODES node1 key=value:NoScheduleApply toleration to a pod: spec: tolerations: - key: "key" OPERATOR: "Equal" value: "value" EFFECT: "NoSchedule" |
|