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 project and have the Application Workload Management permission in the project. For more information, see Project Members and Project Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your workspace.
-
Click Application Workloads > Workloads in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
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.