How to scale a node group
Type: How-to · Audience: Cluster operator
Overview
Change the number of machines in a node group.
Steps
-
Update the count via the API, CLI, or WebUI:
Via CLI:
cat > ng.yaml <<'YAML' apiVersion: v1 kind: NodeGroup metadata: name: workers labels: rezuscloud.io/tenant: prod resourceVersion: 3 spec: name: workers role: worker count: 5 providerClass: "oci:VM.Standard.A1.Flex" YAML rezusctl apply -f ng.yaml --server $SERVERVia WebUI: Click "Scale" on the node group row, enter the new count.
-
Reconciliation fires automatically — the apply queue detects the spec change and runs
tofu applyto create or destroy machines.
Verification
rezusctl get machines --cluster prod --server $SERVER
The machine count should match the new spec.count.