This section describes how to stop a workload.

Warning

This operation will scale the number of running pod replicas in the workload to 0, which will interrupt the business running in the workload. Please perform this operation with caution.

Prerequisites

You need to join a cluster and have the Application Workload Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.

Steps

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

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

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

  4. Select the checkbox on the left of the workload you want to operate, then click Stop above the workload list.

  5. In the Stop Workload dialog box, enter the name of the workload, then click OK.

    Note

    Use commas (,) and spaces to separate multiple names.