Create namespace¶
A namespace is an abstraction used for resource isolation in Kubernetes. This article will introduce how to create a namespace.
Prerequisites¶
- The container management platform has joined the Kubernetes cluster or has created the Kubernetes cluster, and can access the UI interface of the cluster.
- Completed a Namespace Creation, User Creation, and created a Grant
NS Admin
or higher permissions, please refer to Namespace Authorization for details.
Steps¶
-
Click the name of the target cluster to enter
Cluster Details
. -
Click
Namespace
on the left navigation bar to enter the namespace management page, and click theCreate
button on the right side of the page. -
Fill in the name of the namespace, configure the workspace and labels (optional settings), and click
OK
.Info
Workspaces are primarily used to divide groups of resources and grant users (groups of users) different access rights to that resource. For a detailed description of the workspace, please refer to Workspace and Hierarchy.
-
Click
OK
to complete the creation of the namespace. On the right side of the namespace list, click⋮
, and you can choose to update, delete, and more from the pop-up menu.