< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

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

  • Application Management for Cluster Federation should have been installed and enabled.

  • You should join a multi-cluster project and have the Federated Project Management permission within the project.

Delete a Single Service

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

  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, select the workloads to be deleted simultaneously, then click OK.

Delete Multiple Services

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

  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.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.