ByCloud Docs
GuidesCLIAPISDK

Resize Kubernetes cluster

bycloud kubernetes clusters-resize --cluster_id <cluster_id> --node_count <node_count> [flags]

Resize a Kubernetes cluster (add/remove worker nodes)

Options

--cluster_id

stringrequired

Kubernetes Cluster ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--node_count

integerrequired

New worker node count

--nodegroup

stringoptional

Node group to resize

--nodes_to_remove

arrayoptional

Specific nodes to remove (by name)

Command

bycloud kubernetes clusters-resize \
--cluster_id "abc-123" \
--node_count 5

Output

Success