cordon_node
Mark a Kubernetes node as unschedulable to prevent new pods from being scheduled on it. Use dry-run to preview the change before applying.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No |