Adjust the Number of Pod Replicas
This section describes how to adjust the number of pod replicas for a workload.
Prerequisites
-
The Application Management for Cluster Federation extension must be installed and enabled on the KubeSphere platform.
-
You need to join a federated project and have the Federated Project Management permission in the corresponding workspace.
Steps
-
Log in to the KubeSphere web console as a user with Federated Project Management permissions and enter your federated project.
-
Click Application Workloads > Workload in the left navigation pane.
-
On the Workloads page, click Deployments or StatefulSets to open the workload list.
-
On the Deployments or StatefulSets tab, click the name of the target workload to go to 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.