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.
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": {
"nodeName": "<nodeName>",
"key": "<key>",
"value": "<value>",
"effect": "<effect>"
},
"name": "taint_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 |