Skip to main content
Version: 1.14.0

Onboard Namespaces

You can add onboard namespaces from connected clusters onto a workspace.

info

Across our documentation, we refer to the workspace as the slice workspace. The two terms are used interchangeably.

If you have added the namespace for a workspace, use that namespace. You can use the namespace added for a workspace. To add the namespace for a workspace, see onboard existing namespaces.

Otherwise, create a new namespace for the user by using the following command:

kubectl create ns <>

Example

kubectl create ns peter-workspace

Expected Output

namespace/peter-workspace created

Retrieve the namespace using the following command:

kubectl get ns <namespace>

Example

kubectl get ns peter-workspace

Expected Output

NAME              STATUS   AGE
peter-workspace Active 8s

Onboard Existing Namespaces

To onboard namespaces:

  1. Go to Namespaces on the left sidebar.

    alt

  2. On the Namespaces page, for the slice that you want to onboard namespaces, click the Add Namespaces icon.

    alt

  3. On the Add Namespaces tab, under All Namespaces click the + sign of each namespace that you want to add. You can also search by namespace or cluster in the search bar.

    alt

  4. The namespaces that you added appear under Selected Namespaces.

  5. Click Save Namespaces.

  6. On the Namespaces page, verify the namespaces that you have onboarded for a workspace.

Offboard Namespaces from a Workspace

  1. Go to Namespaces on the left sidebar.

  2. Select the workspace from which you want to offboard namespaces from, and click the Add Namespaces icon.

  3. On the Add Namespaces tab, under SELECTED NAMESPACES, click the - icon next to a namespace you want to offboard.

  4. Click Save Namespaces to offboard them from its associated workspace.

    info

    While the namespace offboarding is in progress, no operations on the workspace are allowed.