Skip to main content
Version: 1.2

Workspaces

Everything you can do in Wayfinder is related to a specific workspace and your permissions within it. There are three different ways to become a member of a workspace:

  • You're added by another workspace member.
  • You're sent an invite link.
  • You create a workspace, which you own/administer.

When you first log in to the Wayfinder UI and click Get started, you're directed to the workspaces page. This displays all the workspaces you have access to, and lets you create a new workspace if needed.

Workspaces page

Manage workspaces in the CLI​

The sections below show how to manage workspaces in the UI. Here are the CLI equivalents:

TaskCommand
Create a new workspacewf create workspace WORKSPACE-NAME
List workspaces you have access towf get workspaces
List your default workspacewf profiles list
Set a default (active) workspacewf use workspace WORKSPACE-NAME
Run a command on non-default workspacewf COMMAND -w WORKSPACE-NAME
Add a member to a workspacewf create member -u USERNAME
Create another workspace rolewf create workspace-role ROLE-NAME

CLI commands apply to your default workspace unless you use the -w flag to apply the command to a different workspace, provided you have the right permissions.

Example:

Suppose you have access to two workspaces. Your default workspace is abc, and you want to create a cluster called qa on workspace xyz:

wf create cluster qa -w xyz

For more information, see Using the CLI.

Create a new workspace​

Generally, a workspace owner/administrator creates a workspace and invites or adds other workspace members to it. But anyone can create a workspace to provision infrastructure for testing or other purposes.

To create a new workspace:

  1. In the Wayfinder UI, click the down arrow on the workspace selector at the top of the page, and then click Add new workspace.

    Add new workspace

  2. Enter the following information:

    • Workspace name - A user friendly name of your choice
    • Workspace Key - This identifier for the workspace must begin with a letter and contain 3-5 lowercase alphanumeric characters. You must use this key when specifying the workspace in CLI commands.
    • Workspace description
  3. Click Next.

    Your workspace is created. You can optionally add or invite users to the workspace at this point, or do so separately. See Add or invite workspace members.

CLI:

wf create workspace

Switch to another workspace after login​

You can select or specify a workspace in either the Wayfinder UI or CLI. By doing so, your actions in the UI or CLI apply to that workspace.

You may be part of more than one workspace in Wayfinder. The currently selected workspace is shown in the UI at the top. For example, ggq is the currently selected workspace below:

Workspaces tab

To switch to another workspace:

  1. Click the arrow in the current workspace, and then either scroll to select the workspace you want, or start typing the workspace name in the search box to select it, as shown above.

CLI: wf use workspace WORKSPACE-NAME

Invite or add workspace members​

Workspaces have two default workspace roles: member and admin. Workspace admins can create more workspace roles as needed to set access permissions for various Wayfinder resources. For information on what the default workspace roles can do, see Users and privileges.

Invite members​

You can use a workspace invite link from the Wayfinder UI for users who haven't logged into Wayfinder before. This link invites them to use Wayfinder and makes them a member of a specific workspace. You can also invite existing Wayfinder users to a workspace.

To invite members to a workspace:

  1. In the Wayfinder UI, navigate to your workspace overview page, and then click the Members tab.

  2. Copy and share the Invite link.

    The member you're inviting can use the link to automatically select that workspace upon login to the UI, and then the member's user ID is added to the Members tab.

Add members to a workspace​

You can add existing Wayfinder users to a workspace.

To add members to a workspace:

  1. In the Wayfinder UI, navigate to your workspace overview page, then click the Members tab.
  2. In Add Wayfinder users now start typing the member's user ID, and select the user.
  3. If you're a workspace admin, you must also Select user type for this user.
  4. Click Add to workspace.

CLI: wf create member

Create more workspace roles​

The default workspace roles are member and admin. As a Workspace admin, you can create more roles as needed to help constrain your access policies.

To create a workspace role:

  1. Run the CLI command: wf create workspace-role

    For example: wf create workspace-role tester

Set an email address for certificate notifications​

You must specify an email address in order for your workspace clusters to be configured with TLS certificates. This email address is used by certificate issuers to send notifications to your workspace.

To specify the workspace email address:

  1. In the Wayfinder UI, navigate to your workspace's overview page, and then click Settings.
  2. Enter the Email address, and then click Save.

Delete a workspace​

caution

This operation cannot be undone.

Before deleting a workspace, be sure that you have deleted everything created for that workspace in Wayfinder.

To delete a workspace:

  1. In the Wayfinder UI, ensure the workspace you're deleting is selected at the top.
  2. Navigate to your workspace's overview page, click Settings, and then click Delete workspace.

Once you're in a workspace​

Here are some of the things you can do once you're in a workspace:

  • Configure a profile for your workspace to access an environment with the CLI—see wf profile configure.
  • Create a cluster and namespace—see Clusters and Namespaces.
  • Optionally, create a cloud environment without creating a cluster from the workspace Overview page.
  • Wayfinder creates domains for you automatically when you create a cluster, but if desired, you can create a custom cluster DNS zone for your app—see DNS .
  • Set up ingress and network policies for workspace apps—see Exposing your Applicatins via Ingress.
  • Create robots for builds or deployments with your CI system—see Robots.
  • View costs for your workspace's cloud infrastructure—see Costs.

Workspace administrators​

Workspace admins are owners of a workspace. They are workspace members with additional privileges. As a workspace admin, you can:

  • Promote workspace members to be workspace admins in the Wayfinder UI: Navigate to your workspace Overview page, click Members > USERNAME > Add workspace role.
  • Administer your workspace's role-based access (RBAC) by creating policies for how members can assume roles, or assign them to robots—see the RBAC section.
  • Create more workspace roles as needed, in addition to member and admin. You can then use these roles when defining RBAC policies.