rht-labs / enablement-docs

Collection of Enablement material for Red Hat Open Innovation Labs
https://rht-labs.github.io/enablement-docs/#/
90 stars 115 forks source link

Spin down a workspace after some period of inactivity #515

Open tylerauerbeck opened 5 years ago

tylerauerbeck commented 5 years ago

During the additional week that we give everyone to work on the exercises, we've noticed that not everyone actually logs in to continue working. This leaves their workspaces running -- which leads to unncessary resource consumption. We can look at using the following env variables to spin down workspaces (idle them, not delete them)

CHE_WORKSPACE_AGENT_DEV_INACTIVE__STOP__TIMEOUT__MS CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT