The page has been translated by Gen AI.

Managing Namespaces

A namespace is a logical separation unit within a Kubernetes cluster, used to specify access permissions or resource usage limits per namespace.

Create a namespace

To create a namespace, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. 2. Navigate to the Namespace List page.
  3. On the Namespace List page, select the cluster where you want to create a namespace from the gear button at the top left, then click Create Object.
  4. Enter the object information in the Object Creation Popup and click the Confirm button.
Reference
For detailed information on object creation, refer to the Kubernetes official documentation > Kubernetes objects.

Check detailed namespace information

On the namespace detail page, you can view the namespace status and detailed information.

To view detailed namespace information, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. 2. Navigate to the Namespace List page.
  3. On the Namespace List page, select the cluster that the namespace requiring detailed information belongs to from the gear button at the top left, then click Confirm.
  4. On the Namespace List page, select the item you want to view details for and click it. 4. Go to the Namespace Details page.
    CategoryDetailed description
    Status indicatorDisplay the current state of the namespace
    Delete NamespaceDelete namespace
    • A namespace containing workloads cannot be deleted. To delete a namespace, you must delete all associated workloads
    Detailed InformationCheck the Account information and metadata of the namespace
    YAMLNamespaces can be edited in the YAML editor
    • Click the Edit button, modify the namespace, then click the Done button to apply the changes
    • When editing content, click the Diff button to view the changes
    eventCheck events that occurred within the namespace
    PodCheck the pod information in the namespace
    Account informationCheck basic information about the Account, such as name, location, and creation timestamp.
    Metadata InformationCheck the metadata information of the namespace
    Table. Namespace detailed information items

Delete namespace

To delete a namespace, follow these steps.

  1. All Services > Container > Kubernetes Engine Click the menu. 1. Go to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. 2. Navigate to the Namespace List page.
  3. On the Namespace List page, select the cluster that the namespace you want to delete belongs to from the gear button at the top left, then click the Confirm button.
  4. On the Namespace List page, select the item you want to view details for and click it. 4. Navigate to the Namespace Details page.
  5. On the Namespace Details page, click Delete Namespace.
  6. When the notification confirmation window appears, click the Confirm button.
Caution
On the namespace list page, after selecting the item you want to delete, click Delete to remove the selected namespace. A namespace that contains workloads cannot be deleted. To delete a namespace, delete all associated workloads.
Managing Nodes
Manage Workloads