Adjust Pod Replicas Count

This section explains how to adjust the replica count of pods in a workload.

Prerequisites

You should join a cluster and have the Application Workload Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Application Workload Management permission, and access your cluster.

  2. Click Application Workloads > Workloads in the left navigation pane.

  3. On the Workloads page, click Deployments, StatefulSets, or DaemonSets, then click the name of a workload in the list to open its details page.

  4. On the Resource Status tab of the workload details page, click add-dark or subtract-dark to adjust the replica count. Then, in the Adjust Replicas dialog at the top right corner, click OK.

    Warning

    If you adjust the pod replica count to 0, all replicas managed by the workload will be deleted, and the running business will be interrupted. Please proceed with caution.