Baidu AI Cloud
中国站

百度智能云

Cloud Container Engine

Namespace Basic Operations

Namespace Basic Operations

Namespace is an abstract collection of a group of resources and objects. For example, it can be used to divide objects within the system into different project groups or user groups. The created Pod, Service, Deployment, StatefullSet, etc. belong to a certain namespace. Namespaces are often used to isolate different users from different departments. Kubernetes' services usually run in the kube-system namespace.

Create Namespace

Operation steps

1.Log in to cloud platform management console, enter "Product Service > Cloud Container Engine (CCE)", Click "Image repository > Namespace" in the left navigation bar, and enter the namespace list page.

image.png

2.Click "Create namespace", select cluster, and complete the list of namespace names and corresponding labels.

image.png

3.Click "Confirm" to complete the namespace setting. Return to the list page and you can see the namespace just created.

Delete Namespace

On the namespace list page, check the space to delete, click "Delete", confirm the information, and then click "OK".

image.png

Note: Currently, only a single namespace can be checked for deletion, but batch deletion is not supported. Namespace with status of "running" can only be edited and deleted.

Previous
Cluster Management
Next
Set Namespace Resource Limit