Skip to main content
Version: Developer

Create and manage compute pools in Kasm Workspaces

Overview

A pool groups a set of similar systems so that Kasm Workspaces treats them as a single Workspace for user access. Users see one Workspace icon on their dashboard, and Kasm distributes each session to an available system in the pool. Each system can support one or more concurrent sessions, and Kasm distributes sessions evenly across the pool. A pool can also target a supported VM provider to AutoScale servers or Docker Agents automatically. This guide creates a pool, assigns systems to it, and points AutoScale at it.

note

AutoScale is available in the Community and Enterprise editions only. When applicable, three links appear under the table for All AutoScale Configs, All VM Provider Configs, and All DNS Provider Configs. These show every config available, but the recommended approach is the Edit option on a specific pool.

The Pools list in the Kasm Infrastructure settings
Server Pools

Prerequisites

  • A working Kasm Workspaces deployment with administrator access.
  • Existing servers or Docker Agents to assign, or a VM provider configured for AutoScale.

Solution approach

This guide progresses through the following phases:

  1. Create a pool.
  2. Assign servers or Docker Agents to the pool.
  3. Target the pool with AutoScale.

Detailed steps

Create a pool

  1. Click Infrastructure in the navigation menu.
  2. Select Pools.
  3. Click Add at the top right of the Pools table.
Create a server pool in Kasm
Create Server Pool

Complete the pool configuration options:

FieldDescription
NameThe name given to the pool.
TypeThe pool type, either Docker Agent or Server.
Server AssignmentFor Server pools only. Whether the pool allows user-server assignment.
LabelsLabels assigned to all servers and agents in the pool. Use these labels to control where Workspace sessions launch. Specify them in a Workspace's Include Labels or Exclude Labels settings so sessions run only on certain servers or agents.

Assign servers or Docker Agents to the pool

The pool edit page shows a list of the members for the pool type. The list is almost identical to the Servers or Docker Agents list, except that it shows only the members assigned to the pool. Use the Assign button to assign existing servers or agents.

For a Server pool, use the servers list:

The servers assigned to a server pool
Server List

For a Docker Agent pool, use the agents list:

The Docker Agents assigned to an agent pool
Agent List

Target the pool with AutoScale

The AutoScale system groups resources using pools. To provision pool members automatically, configure AutoScale against the pool. For details, see the AutoScale documentation.

Common troubleshooting steps

  • The servers or agents list is empty. Confirm that the pool type matches the members you want to assign, and use the Assign button to add existing systems.
  • Sessions do not launch on the expected systems. Review the pool Labels and the Workspace Include Labels and Exclude Labels settings.
  • AutoScale options are missing. AutoScale is available in the Community and Enterprise editions only. Confirm the deployment edition.