2022-09-02 05:52:42 -04:00
# Scale your cluster
Constellation provides all features of a Kubernetes cluster including scaling and autoscaling.
## Worker node scaling
2022-09-28 10:31:47 -04:00
[During cluster initialization ](create.md#the-init-step ) you can choose to deploy the [cluster autoscaler ](https://github.com/kubernetes/autoscaler ). It automatically provisions additional worker nodes so that all pods have a place to run. Alternatively, you can choose to manually scale your cluster up or down:
2022-09-02 05:52:42 -04:00
2024-08-23 07:04:15 -04:00
< Tabs groupId = "csp" >
< TabItem value = "azure" label = "Azure" >
2022-09-02 05:52:42 -04:00
1. Find your Constellation resource group.
2. Select the `scale-set-workers` .
3. Go to **settings** and **scaling** .
4. Set the new **instance count** and **save** .
2024-08-23 07:04:15 -04:00
< / TabItem >
< TabItem value = "gcp" label = "GCP" >
2022-09-02 05:52:42 -04:00
1. In Compute Engine go to [Instance Groups ](https://console.cloud.google.com/compute/instanceGroups/ ).
2. **Edit** the **worker** instance group.
3. Set the new **number of instances** and **save** .
2024-08-23 07:04:15 -04:00
< / TabItem >
< / Tabs >
2022-09-02 05:52:42 -04:00
## Control-plane node scaling
Control-plane nodes can **only be scaled manually and only scaled up** !
To increase the number of control-plane nodes, follow these steps:
2024-08-23 07:04:15 -04:00
< Tabs groupId = "csp" >
2022-09-02 05:52:42 -04:00
2024-08-23 07:04:15 -04:00
< TabItem value = "azure" label = "Azure" >
2022-09-02 05:52:42 -04:00
1. Find your Constellation resource group.
2. Select the `scale-set-controlplanes` .
3. Go to **settings** and **scaling** .
4. Set the new (increased) **instance count** and **save** .
2024-08-23 07:04:15 -04:00
< / TabItem >
< TabItem value = "gcp" label = "GCP" >
2022-09-02 05:52:42 -04:00
1. In Compute Engine go to [Instance Groups ](https://console.cloud.google.com/compute/instanceGroups/ ).
2. **Edit** the **control-plane** instance group.
3. Set the new (increased) **number of instances** and **save** .
2024-08-23 07:04:15 -04:00
< / TabItem >
< / Tabs >
2022-09-02 05:52:42 -04:00
If you scale down the number of control-planes nodes, the removed nodes won't be able to exit the `etcd` cluster correctly. This will endanger the quorum that's required to run a stable Kubernetes control plane.