Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 1.58 KB

File metadata and controls

67 lines (46 loc) · 1.58 KB
copyright
years
2025, 2026
lastupdated 2026-07-30
keywords kubernetes, rebalance, resize, node scaling, ca, autoscaler, containers
subcollection containers

{{site.data.keyword.attribute-definition-list}}

Rebalancing or resizing autoscaled worker pools

{: #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.

  1. Edit iks-ca-configmap and disable the worker pool that you want to resize or rebalance by removing it from the workerPoolsConfig.json section.

    kubectl 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}

  2. Save the iks-ca-configmap.

  3. Resize or rebalance your worker pool.

  4. Optional Update your VPC worker nodes.

  5. Add the worker pool to the iks-ca-configmap.

    kubectl 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}