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.
- Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
- On the Service Home page, click the Namespace menu. It moves to the Namespace List page.
- 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.
- 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.
- Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
- On the Service Home page, click the Namespace menu. It moves to the Namespace List page.
- 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.
- On the Namespace List page, select and click the item you want to check the details for. It moves to the Namespace Details page.
| Classification | Detailed Description |
|---|---|
| Status Indicator | Displays the current status of the namespace |
| Namespace Deletion | You can delete a namespace
|
| Detailed Information | Check the namespace’s Account information and metadata information |
| YAML | You can modify the namespace in the YAML editor
|
| Event | Check events that occurred within the namespace |
| Pod | Check pod information in the namespace |
| Account Information | Account name, location, creation time, etc., basic information about the Account can be checked |
| Metadata Information | Check the metadata information of the namespace |
Table. Namespace details items
Deleting a namespace
To delete a namespace, follow these steps.
- Click on the menu for all services > Container > Kubernetes Engine. It moves to the Service Home page of Kubernetes Engine.
- On the Service Home page, click the Namespace menu. It moves to the Namespace List page.
- 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.
- On the Namespace List page, select and click the item you want to check the details for. It moves to the Namespace Details page.
- Click Namespace Delete on the Namespace Details page.
- 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.