Skip to content

Commit 4ed3c42

Browse files
committed
Add multiuser environment variables
1 parent 211648b commit 4ed3c42

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

dockerfiles/init/manifests/che.env

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,3 +507,57 @@ CHE_KEYCLOAK_PRIVATE_REALM=che
507507
CHE_KEYCLOAK_PRIVATE_CLIENT__ID=che
508508
CHE_KEYCLOAK_PRIVATE_CLIENT__SECRET=2c1b2621-d251-4701-82c4-a7dd447faa97
509509

510+
########################################################################################
511+
##### #####
512+
##### WORKSPACE LIMITS #####
513+
##### #####
514+
#
515+
# Workspaces are the fundamental runtime for users when doing development. You can set
516+
# parameters that limit how workspaces are created and the resources that are consumed.
517+
#
518+
# The maximum number of workspaces that a user is allowed to create. The user will
519+
# be presented with an error message if they try to create additional workspaces.
520+
# This applies to the total number of both running and stopped workspaces. Since
521+
# each workspace is saved as a snapshot, placing a cap on this number is a way
522+
# to limit the disk consumption for workspace storage.
523+
#CHE_LIMITS_USER_WORKSPACES_COUNT=-1
524+
525+
# The maximum number of running workspaces that a single user is allowed to have.
526+
# If the user has reached this threshold and they try to start an additional
527+
# workspace, they will be prompted with an error message. The user will need to
528+
# stop a running workspace to activate another.
529+
#CHE_LIMITS_USER_WORKSPACES_RUN_COUNT=-1
530+
531+
# The total amount of RAM that a single user is allowed to allocate to running
532+
# workspaces. A user can allocate this RAM to a single workspace or spread it
533+
# across multiple workspaces.
534+
#CHE_LIMITS_USER_WORKSPACES_RAM=-1
535+
536+
# The total amount of RAM that a single organization (team) is allowed to allocate
537+
# to running workspaces. An organization owner can allocate this RAM however they
538+
# see fit across the team's workspaces.
539+
#CHE_LIMITS_ORGANIZATION_WORKSPACES_RAM=-1
540+
541+
# The maximum number of workspaces that a organization is allowed to own. The
542+
# organization will be presented an error message if they try to create
543+
# additional workspaces. This applies to the total number of both running
544+
# and stopped workspaces. Since each workspace is saved as a snapshot, placing a
545+
# cap on this number limits the disk consumption for workspace storage.
546+
#CHE_LIMITS_ORGANIZATION_WORKSPACES_COUNT=-1
547+
548+
# The maximum number of running workspaces that a single organization is allowed.
549+
# If the organization has reached this threshold and they try to start an
550+
# additional workspace, they will be prompted with an error message. The
551+
# organization will need to stop a running workspace to activate another.
552+
#CHE_LIMITS_ORGANIZATION_WORKSPACES_RUN_COUNT=-1
553+
554+
# The length of time that a user is idle with their workspace when the system will
555+
# suspend the workspace by snapshotting it and then stopping it. Idleness is the
556+
# length of time that the user has not interacted with the workspace, meaning that
557+
# one of our agents has not received interaction. Leaving a browser window open
558+
# counts toward idleness.
559+
#CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT=-1
560+
561+
# The maximum amount of RAM that a user can allocate to a workspace when they
562+
# create a new workspace. The RAM slider is adjusted to this maximum value.
563+
#CHE_LIMITS_WORKSPACE_ENV_RAM=16gb

0 commit comments

Comments
 (0)