The page has been translated by Gen AI.

Managing Namespaces

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

Create namespace

To create a namespace, follow these steps.

  1. Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. It moves 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. Object creation popup where you enter object information and click the Confirm button.
Reference
For more information about creating objects, see the Kubernetes official documentation > Kubernetes objects.

Check namespace details

You can check the namespace status and detailed information on the namespace detail page.

To check namespace details, follow the next procedure.

  1. Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. It moves to the Namespace List page.
  3. On the Namespace List page, select the cluster where the namespace that requires detailed information is located from the gear button in the top left, and then click OK.
  4. On the Namespace List page, select and click the item you want to check the details for. It moves to the Namespace Details page.
ClassificationDetailed Description
Status IndicatorDisplays the current status of the namespace
Namespace DeletionYou can delete a namespace
  • A namespace that contains workloads cannot be deleted. To delete a namespace, you must delete all connected workloads
Detailed InformationCheck the namespace’s Account information and metadata information
YAMLYou can modify the namespace in the YAML editor
  • Click the Edit button, modify the namespace, and then click the Save button to apply the changes
EventCheck events that occurred within the namespace
PodCheck pod information in the namespace
Account InformationAccount name, location, creation time, etc., basic information about the Account can be checked
Metadata InformationCheck the metadata information of the namespace
Table. Namespace details items

Deleting a namespace

To delete a namespace, follow these steps.

  1. Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
  2. On the Service Home page, click the Namespace menu. It moves to the Namespace List page.
  3. On the Namespace List page, select the cluster where the namespace you want to delete is located from the gear button at the top left, then click the OK button.
  4. On the Namespace List page, select and click the item you want to check the details for. It moves to the Namespace Details page.
  5. Click Namespace Delete on the Namespace Details page.
  6. When the Notification Confirmation Window appears, click the OK button.
Caution
  • Select the item to be deleted from the namespace list page, then click Delete to delete the selected namespace. A namespace that contains a workload cannot be deleted. To delete a namespace, delete all associated workloads.
How-to guides
Managing Workloads