ezgh kubernetes node-groups update <node-group> --cluster c [flags] [--wait]Change a node group. Only what’s given changes. --version upgrades its nodes to the cluster’s version: they’re replaced a few at a time, each drained first, honouring PodDisruptionBudgets. --label and --taint replace all of them; --no-labels and --no-taints remove them. --wait waits until it’s done and prints it.
Part of ezgh kubernetes node-groups.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-tags |
boolean | remove its tags | |
--cluster |
string | the cluster | |
--label |
string, repeatable | a Kubernetes label, key=value; repeat for more; replaces them all | |
--max |
int | the most nodes, at most 100 | |
--max-unavailable-percent |
int | the share of nodes replaced at once in an upgrade | |
--min |
int | the fewest nodes | |
--no-labels |
boolean | remove the labels | |
--no-taints |
boolean | remove the taints | |
--tag |
string, repeatable | a tag, key=value; repeat for more; replaces them all | |
--taint |
string, repeatable | a taint, key=value:Effect or key:Effect; repeat for more; replaces them all | |
--version |
string | upgrade the nodes to this Kubernetes version, the cluster’s | |
--wait |
boolean | wait until it’s done, and print it then | |
--wait-timeout |
duration | 30m0s |
how long --wait waits |
This command also takes the global flags.