kx cordon
Marks a node unschedulable, so the scheduler places no new pods on it. Pods already running there are left alone — use kx drain to evict those.
Takes several indexes, and ranges, like kx delete.
Usage
kx cordon [OPTIONS] <index>...Arguments
| Argument | Description |
|---|---|
<index>... | Row number from the current listing; run kx state to see it |
Global options
| Option | Description |
|---|---|
--no-color | Disable styled output |
-h, --help | Show this message and exit |
Examples
kx cordon 1
kx cordon 1 3
kx cordon 1..3