This section describes how to delete a service.

Warning

After deleting the service, you will not be able to access the pods behind it. Please perform this operation with caution.

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.

Delete a Single Service

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

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

  3. Select a project from the drop-down list in the upper left corner of the page.

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

  5. In the Delete Service dialog box, select the workload(s) you want to delete simultaneously, and then click OK.

Delete Services in Batch

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

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

  3. Select a project from the drop-down list in the upper left corner of the page.

  4. Select the checkbox on the left of the service you want to delete, and then click Delete above the service list.

  5. In the Batch Delete Service dialog box, confirm and select the related resources to be deleted, and then click OK.

    Note

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