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 per namespace.
Create a namespace
To create a namespace, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- Click the Namespace menu on the Service Home page. 2. Go to the Namespace List page.
- On the Namespace List page, select the cluster for which you want to create a namespace from the list in the upper left, then click Create Object.
- In the Object Creation Popup, enter the object information and click the Create button.
Reference
For detailed information on object creation, refer to the 쿠버네티스 공식 문서 > 쿠버네티스 오브젝트.
Check detailed namespace information
You can view the namespace status and detailed information on the namespace detail page.
To view detailed namespace information, follow these steps.
- Click the All Services > Container > Kubernetes Engine menu. 1. Go to the Service Home page of Kubernetes Engine.
- Click the Namespace menu on the Service Home page. 2. Go to the Namespace List page.
- Namespace List page, after selecting the cluster that the namespace requiring detailed information belongs to from the list at the top left, click View.
- On the Namespace List page, select the item you want to view details for and click it. 4. Navigate to the Namespace Details page.
Category Detailed description Status display Display the current state of the namespace Delete Namespace Delete the namespace - A namespace containing workloads cannot be deleted. To delete the namespace, you must delete all associated workloads
Detailed Information Check the Account information and metadata of the namespace YAML Namespaces can be edited in the YAML editor - Click the Edit button, modify the namespace, then click the Done button to apply the changes
- When editing content, click the Diff button to view the changed content
event Check events that occurred within the namespace Pod Check the pod information of the namespace Account information Check basic information about the Account, such as its name, location, and creation date/time. Metadata Information Check the namespace’s metadata information Table. Namespace detailed information items
Delete namespace
To delete a namespace, follow these steps.
- All Services > Container > Kubernetes Engine menu, click it. 1. Go to the Service Home page of Kubernetes Engine.
- On the Service Home page, click the Namespace menu. 2. Go to the Namespace List page.
- On the Namespace List page, select the cluster that the namespace you want to delete belongs to from the list at the top left, then click Search.
- On the Namespace List page, select the item you want to view details for and click it. 4. Navigate to the Namespace Details page.
- On the Namespace Details page, click Delete Namespace.
- Notification dialog appears, click the Confirm button.
Caution
On the namespace list page, after selecting the item you want to delete, click Delete to remove the selected namespace.
- Namespaces containing workloads cannot be deleted. To delete a namespace, delete all associated workloads.