k8s_taint_node
Taint a node to prevent pods without matching tolerations from scheduling, supporting NoSchedule, PreferNoSchedule, and NoExecute effects.
Instructions
Add a taint to a node. Taints prevent pods without matching tolerations from being scheduled. Effects: NoSchedule (hard), PreferNoSchedule (soft), NoExecute (evict existing pods too).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | No | ||
| effect | No | NoSchedule | |
| context | Yes | ||
| node_name | Yes |