| copyright |
|
||
|---|---|---|---|
| lastupdated | 2026-07-30 | ||
| keywords | kubernetes, rebalance, resize, node scaling, ca, autoscaler, openshift | ||
| subcollection | openshift |
{{site.data.keyword.attribute-definition-list}}
{: #ca_update_worker_node_pool}
Before you can rebalance or resize your worker pool, you must remove the worker pool from the autoscaler configmap to disable autoscaling.
-
Edit
iks-ca-configmapand disable the worker pool that you want to resize or rebalance by removing it from theworkerPoolsConfig.jsonsection.oc edit cm -n kube-system iks-ca-configmap
{: pre}
Example output
apiVersion: v1 data: workerPoolsConfig.json: | [ {"name": "","minSize": 1,"maxSize": 2,"enabled":false} ] kind: ConfigMap
{: screen}
-
Save the
iks-ca-configmap. -
Optional Update your VPC worker nodes.
-
Add the worker pool to the
iks-ca-configmap.oc edit cm -n kube-system iks-ca-configmap
{: pre}
Example
apiVersion: v1 data: workerPoolsConfig.json: | [ {"name": "<worker_pool>","minSize": 1,"maxSize": 2,"enabled":false} ] kind: ConfigMap
{: screen}