taint_node
Add a taint to a Kubernetes node to control pod scheduling by specifying key, value, and effect.
Instructions
Adds a taint to a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Taint key | |
| value | Yes | Taint value | |
| dryRun | No | If true, simulates the action | |
| effect | Yes | Taint effect (NoSchedule, PreferNoSchedule, NoExecute) | |
| cluster | No | Target cluster name (default: 'default') | |
| nodeName | Yes | Name of the node |