This section describes how to delete a Job.

Warning

This operation will delete the Job and all pods managed by it. If the Job is running, the ongoing business will be interrupted. 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.

Delete a Single Job

  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 > Jobs or CronJobs in the left navigation pane.

  3. On the right side of the Job you want to delete, click more, then select Delete from the dropdown list.

  4. In the Delete Job dialog box, enter the name of the Job, then click OK.

Delete Jobs in Batches

  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 > Jobs or CronJobs in the left navigation pane.

  3. Select the checkboxes on the left of the Jobs you want to delete, then click Delete above the Job list.

  4. In the Batch Delete Jobs dialog box, enter the Job names and click OK.

    Note

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