The page has been translated by Gen AI.
Manage Namespaces
A namespace is a logical separation unit within a Kubernetes cluster, and it is used to specify access permissions or resource usage limits per namespace.
Create Namespace
To create a namespace, follow the steps below.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click the Namespace menu on the Service Home page. Navigate 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.
- In the Object Creation Popup, enter the object information and click the Confirm button.
Reference
For detailed information on object creation, refer to the Kubernetes official documentation > Kubernetes Objects.
Check namespace detailed information
You can check the namespace status and detailed information on the namespace detail page.
To view detailed namespace information, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Go to the Service Home page of Kubernetes Engine.
- Click the Namespace menu on the Service Home page. Navigate to the Namespace List page.
- 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.
- Click on the item you want to view detailed information for on the Namespace List page. You will be taken to the Namespace Details page.
Category Detailed description Status Display Displays the current status of the namespace Namespace Deletion Delete namespace - A namespace containing workloads cannot be deleted. To delete a namespace, all associated workloads must be deleted.
Detailed Information Check the Account information and metadata information of the namespace YAML Namespaces can be edited in the YAML editor - Click the Edit button, modify the namespace, then click the Save button to apply changes
- When editing content, click the Diff button to view the changes
Event Check events that occurred within the namespace Pod Check pod information of the namespace Account Information Check basic information about the Account such as Account name, location, creation date, etc. Metadata Information Check the metadata information of the namespace Table. Namespace detailed information items
Delete namespace
To delete a namespace, follow these steps.
- All Services > Container > Kubernetes Engine Click the menu. Navigate to the Service Home page of Kubernetes Engine.
- Click the Namespace menu on the Service Home page. You will be taken to the Namespace List page.
- Namespace List page, after selecting the cluster that the namespace you want to delete belongs to from the gear button at the top left, click the Confirm button.
- Namespace List page, select the item you want to view detailed information and click. You will be taken to the Namespace Details page.
- Click Delete Namespace on the Namespace Details page.
- When the alert confirmation window appears, click the Confirm button.
Warning
- After selecting the item you want to delete on the namespace list page, click Delete to delete the selected namespace.
- A namespace that contains workloads cannot be deleted. To delete the namespace, delete all associated workloads.