A workspace is a logical unit to organize your projects and DevOps projects and manage app templates and app repositories. It is the place for you to control resource access and share resources within your team in a secure way.
It is a best practice to create a new workspace for tenants (excluding cluster administrators). A same tenant can work in multiple workspaces, while a workspace allows multiple tenants to access it in different ways.
This tutorial demonstrates how to create and delete a workspace.
You have an account granted the role of
workspaces-manager, such as
ws-manager in Create Workspace, Project, Account and Role.
Create a Workspace
Log in the web console of KubeSphere as
ws-manager. On the Access Control page, you can see all workspaces on the platform. By default, you have at least one workspace
system-workspacein the list which contains all system projects.
On the Basic Info page, specify a name for the workspace and select a workspace manager from the list. Click Create to continue.
- Workspace Name: Set a name for the workspace which serves as a unique identifier.
- Alias: An alias name for the workspace.
- Workspace Manager: The person who administrates the workspace.
- Description: A brief introduction of the workspace.
A newly-created workspace displays in the list as below.
Click the workspace and you can see resource status in the workspace on the Overview page.
Delete a Workspace
In your workspace, go to Basic Info under Workspace Settings. On the Basic Info page, you can see the general information of the workspace, such as the number of projects and members.
NoteOn this page, you can click Edit Info to change the basic information of the workspace (excluding the workspace name) and turn on/off Network Isolation.
To delete the workspace, check Sure to delete the workspace and click Delete.
WarningA workspace cannot be restored after it is deleted and resources in the workspace will also be removed.