Dedicated nodes and a NoExecute retirement
- 12 min
- 5 steps
- Scheduling and nodes
Steps
0 of 5 done
Get batch pods onto a tainted, labeled node pool, then retire a worker with a NoExecute taint and watch the eviction.
Step 1 of 5
Both
crunchpods are Pending. Read the scheduler's message and note the two different reasons it gives.Checked against what your commands print.
Step 2, not started: The message does not name the taint. Find the taint on the node that
crunchselects with itspool=batchlabel.Step 3, not started: Add a toleration for that exact taint to the
crunchpod template so both replicas run on the batch node.Step 4, not started:
kx-worker2is being retired. Taint itretiring=truewith the effect that also removes pods already running there, and letwebrecover its three replicas elsewhere.Step 5, not started: Find the events that record which pods the taint removed from
kx-worker2.
Enter runs the command. Tab completes, and the arrow keys recall earlier commands. Control C stops a watch. On an empty line, or after Escape, Tab moves focus out of the terminal.