Adjust the Number of Pod Replicas
This section describes how to adjust the number of pod replicas for a workload.
Prerequisites
You need to join a cluster and have the Application Workloads Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workloads Management permissions and enter your cluster.
-
Click Application Workloads > Workloads in the left navigation pane.
-
On the Workloads page, click Deployments, StatefulSets, or DaemonSets, then click the name of a workload in the list to open its details page.
-
On the workload details page, click
or
to adjust the number of pod replicas, then click OK in the Adjust Replica Count dialog box in the upper right corner.
Warning If you adjust the number of pod replicas to 0, all pod replicas managed by the workload will be deleted, and the business running in the workload will be interrupted. Please perform this operation with caution.