This topic describes how to delete a namespace you no longer require.

Prerequisites

  • You have created a Kubernetes cluster. For more information, see Create an ACK cluster.
  • You have created a namespace. In this topic, a namespace named test is used. For more information, see Create a namespace.

Background information

Note Deleting a namespace also deletes all of its resource objects. Exercise caution when performing this action.

Procedure

  1. Log on to the Container Service console.
  2. In the left-side navigation pane under Kubernetes, choose Clusters > Namespace.
  3. Select the target cluster and then click Delete on the right of the cluster.
  4. In the displayed dialog box, click Confirm.
  5. The namespace is then deleted from the namespace list, and its resource objects are also deleted.