You can delete a Kubernetes service in the Container Service console.

Prerequisite

  • You have created a Kubernetes cluster successfully. For more information, see Create a cluster.
  • You have created a service successfully. For more information, see Create a service.

Procedure

  1. Log on to the Container Service console.
  2. Click Kubernetes >Application > > Servicein the left-side navigation pane.
  3. Select the cluster and namespace from the Clusters and Namespace drop-down lists. Click Delete at the right of the service (nginx-svc in this example).


  4. Click Confirm in the displayed dialog box. Then, the service is removed from the Service List page.