Delete Services

This section explains how to delete a service.

Warning

Deleting a service will make it impossible to access the pods behind it through the service. Please proceed with caution.

Prerequisites

You should join a cluster and have the Application Workload Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Delete a Single Service

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

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

  3. Click more on the right of the service you want to delete, then choose Delete from the dropdown list.

  4. In the Delete Service dialog, confirm and select the names of the resources related to the services to be deleted, then click OK.

Delete Multiple Services

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

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

  3. Select the checkbox on the left side of the services you want to delete, then click Delete above the service list.

  4. In the Delete Multiple Services dialog, confirm and select the names of the resources related to the services to be deleted, then click OK.

    Note

    Please separate multiple names using a comma (,) and a space.