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

  • The Application Management for Cluster Federation extension needs to be installed and enabled on the KubeSphere platform.

  • You need to join a federated project and have the Federated Project Management permission in the corresponding workspace.

Delete a Single Service

  1. Log in to the KubeSphere web console as a user with Federated Project Management permissions and enter your federated project.

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

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

  4. In the Delete Service dialog box, select the workload(s) to be deleted simultaneously, and then click OK.

Delete Services in Batches

  1. Log in to the KubeSphere web console as a user with Federated Project Management permissions and enter your federated project.

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

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

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