Namespace

Namespaces are used to logically isolate resources in a Kubernetes cluster.

Namespaces are used to logically isolate resources in a Kubernetes cluster. Multi-cluster namespaces support associating namespaces to multiple clusters and creating namespaces with the same name in the cluster.

Entry: In the cloud management platform click on the top left corner of navigation menu, and click “Containers/Multi-Cluster Resources/Namespaces” menu item in the left menu bar that pops up to enter the Namespaces page.

Create namespace

This function is used to create a new multicluster namespace.

  1. On the Namespaces page, click the “Create” button at the top of the list to enter the Create Namespace page.
  2. Set the namespace name and click the “Create” button to create a multicluster namespace.

Delete namespace

This function is used to delete namespaces. When the namespace is already bound to a cluster, it cannot be deleted.

Delete

  1. On the namespace page, click the “Delete” button in the action column on the right side of the namespace to bring up the action confirmation dialog.
  2. Click the “OK” button to complete the operation.

Batch Delete

  1. Select one or more namespaces in the list and click the “Delete” button at the top of the list to bring up the operation confirmation dialog box.
  2. Click the “OK” button to complete the operation.

View Namespace Details

This function is used to view the namespace details.

  1. On the namespace page, click the namespace name item to enter the namespace details page.
  2. View the following information: Including Cloud ID, ID, name, domain, item, status, created at, updated at, and description.

Bound Cluster Resource Management

This function is used to bind or unbind namespaces to a cluster.

Bound to cluster

This function is used to associate namespaces to clusters and create corresponding namespaces on corresponding clusters.

  1. On the namespace page, click the namespace name item to enter the namespace details page.
  2. Click the Bound Cluster Resources tab to enter the Bound Resources page.
  3. Click the list “Bind to Cluster” button to bring up the Bind to Cluster dialog box.
  4. Select the cluster and click the “OK” button to complete the operation.

Unbind

This function is used to unbind the multicluster namespaces from the cluster. Currently, after unbinding, the cluster will not delete the corresponding namespaces.

  1. On the namespace page, click the namespace name item to enter the namespace details page.
  2. Click the Bound Cluster Resources tab to enter the Bound Resources page.
  3. Click the “Unbind” button on the right column of the cluster to bring up the operation confirmation dialog box.
  4. Click “OK” button to complete the operation.

View Operation Log

This function is used to view the operation logs related to multicluster namespaces.

  1. On the namespace page, click the namespace name item to enter the namespace details page.
  2. Click the Operation Log tab to enter the Operation Log page.
    • Load More Logs: In the Operation Logs page, the list shows 20 operation logs by default. To view more operation logs, please click the “Load More” button to get more logs.
    • View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
    • View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
    • Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.