Updated on 2024-12-16 GMT+08:00

Deleting a Namespace

This section describes how to delete a user-created namespace that is no longer used in a CCE cluster bound in a Kubernetes environment.

Prerequisites

A namespace has been created for the CCE cluster. For details, see Creating a Namespace.

Deleting a Namespace

  1. Log in to ServiceStage.
  2. Choose Environment Management. The Environment Management page is displayed.
  3. Click the target environment. The Overview page is displayed.
  4. Choose Cloud Container Engine from Compute.
  5. Go to the Namespace page.

    • For an HA environment, click the cluster that has been bound in the environment and click the Namespace tab.
    • For a non-HA environment, click the Namespace tab.

  6. Delete the namespace.

    • To delete a single namespace, locate the target namespace and click Delete in the Operation column.
      Figure 1 Deleting a single namespace
    • To delete namespaces in batches, select the target namespaces and click Delete above the namespaces.
      Figure 2 Deleting namespaces in batches

  7. In the displayed dialog box, enter DELETE and click OK.