Allow teams to manage their own clusters using workspaces
Workspaces give you the flexibility to represent your organization in a way that makes sense for your team and configuration. For example, you can create separate workspaces for each department, product, or business function. Each workspace manages their own clusters and role-based permissions, while retaining 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.
To get started immediately, you can use the default workspace deployed in DKP. Your workspace delegation can be done at a later time.
Create a Workspace
In DKP you can create your own Workspaces. The following steps describe this procedure.
From the workspace selection dropdown in the top menu bar, select Create Workspace.
Type a name and description and select Save. The workspace is now accessible from the workspace selection drop down.
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.
From the top menu bar, select your target workspace.
Select the Actions dropdown button in the top-right, and select Edit Workspace.
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 of 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.
From the top menu bar, select Global.
From the sidebar menu, select Workspaces.
Select the three dot button to the right of the workspace you want to delete and then select Delete.
Confirm deleting the Workspace in the Delete Workspace dialog box.
The following procedures are supported for workspaces: