Skip to main content
Skip table of contents

Workspaces

These pages refer to DKP Enterprise and DKP Gov Advanced products.

Allow teams or tenants to manage their own clusters using workspaces

Workspaces are a logical grouping of clusters that maintain a similar configuration, with certain configurations automatically federated to those clusters. Workspaces give you the flexibility to represent your organization in a way that makes sense for your teams or tenants. For example, you can create workspaces to separate clusters according to departments, products, or business functions. You can also create workspaces as a Managed Service Provider to administrate each of your tenant’s environments. With separate workspaces, each team or tenant can manage its own clusters and role-based permissions, while you retain an overall organization-level view of all clusters in operation.

Global / Workspace UI

The UI is designed to be accessible for different roles at different levels:

  • Global: At the top level, IT administrators manage all clusters across all workspaces.

  • Workspace: DevOps administrators manage multiple clusters within a workspace.

  • Projects: DevOps administrators or developers manage configuration and services across multiple clusters.

Default Workspace

To get started immediately, you can use the default workspace deployed in DKP. However, take into account that you cannot move clusters from one workspace to another after creating/attaching them.

Create a Workspace

In DKP, you can create your own Workspaces. The following steps describe this procedure.

  1. From the workspace selection dropdown in the top menu bar, select Create Workspace.

  2. Type a name and description and select Save. The workspace is now accessible from the workspace selection drop-down menu.

Add, Edit, and Delete Workspace Annotations and Labels

When creating or editing a workspace, you can use the Advanced Options to add, edit, or delete annotations and labels to your workspace. Both the annotations and labels are applied to the workspace namespace.

  1. From the top menu bar, select your target workspace.

  2. Select the Actions drop-down button in the top-right, and select Edit Workspace.

  3. Type in new Key and Value labels for your workspace, or edit existing Key and Value labels.

Labels that are added to a workspace, are also applied to the kommanderclusters object as well as to all the clusters in the workspace.

Delete a Workspace

In DKP, you can delete existing Workspaces. The following steps describe this procedure.

Workspaces can only be deleted if all the clusters in the workspace have been deleted or detached.

  1. From the top menu bar, select Global.

  2. From the sidebar menu, select Workspaces.

  3. Select the three-dot button to the right of the workspace you want to delete, and then select Delete.

  4. Confirm deleting the Workspace in the Delete Workspace dialog box.

The following procedures are supported for workspaces:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.