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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>",
"node_name": "<node_name>",
"key": "<key>"
},
"name": "k8s_taint_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | No | ||
| effect | No | NoSchedule | |
| context | Yes | ||
| node_name | Yes |