< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Adjust Number of Pod Replicas

This section explains how to adjust the number of pod replicas in a workload.

Prerequisites

  • Application Management for Cluster Federation should have been installed and enabled.

  • You should join a multi-cluster project and have the Federated Project Management permission within the project.

Steps

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

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

  3. On the Workloads page, click Deployments or StatefulSets to open the workload list.

  4. On the Deployments or StatefulSets tab, click the name of a workload to enter the workload details page.

  5. 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.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page