cordon_node
Marks a Kubernetes node unschedulable, preventing new pods from being scheduled. Use dry-run to preview.
Instructions
[WRITE][risk=medium] Mark a node unschedulable (no new pods land). Inverse: uncordon_node.
Pass dry_run=True to preview without cordoning.
Args: name: Node name (see node_list). dry_run: If True, preview without cordoning. target: k8s target name from config.
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": {
"name": "<name>"
},
"name": "cordon_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No |