drain_node
Drain a Kubernetes node by cordoning it and evicting non-daemonset pods, with dry-run simulation, force deletion, and multi-cluster support.
Instructions
Cordons the node and evicts/deletes non-daemonset pods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force deletion of pods | |
| dryRun | No | If true, simulates the action | |
| cluster | No | Target cluster name (default: 'default') | |
| nodeName | Yes | Name of the node to drain |