Skip to content

Commit 6ebcee3

Browse files
sreyamatifalistirby
authored
docs: add workspace cleanup docs (#11146)
Co-authored-by: Muhammad Atif Ali <atif@coder.com> Co-authored-by: kirby <kirby@coder.com>
1 parent 385d58c commit 6ebcee3

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

docs/images/template-scheduling.png

196 KB
Loading

docs/manifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@
204204
"title": "Permissions",
205205
"description": "Configure who can access a template",
206206
"path": "./templates/permissions.md"
207+
},
208+
{
209+
"title": "Workspace Scheduling",
210+
"description": "Configure when workspaces start, stop, and delete",
211+
"path": "./templates/schedule.md"
207212
}
208213
]
209214
},
@@ -236,6 +241,11 @@
236241
"path": "./templates/process-logging.md",
237242
"state": "enterprise"
238243
},
244+
{
245+
"title": "Workspace Scheduling",
246+
"description": "Set workspace scheduling policies",
247+
"path": "./templates/schedule.md"
248+
},
239249
{
240250
"title": "Icons",
241251
"description": "Coder includes icons for popular cloud providers and programming languages for you to use",

docs/templates/schedule.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Workspace Scheduling
2+
3+
You can configure a template to control how workspaces are started and stopped.
4+
You can also manage the lifecycle of failed or inactive workspaces.
5+
6+
![Schedule screen](../images/template-scheduling.png)
7+
8+
## Schedule
9+
10+
Template [admins](../admin/users.md) may define these default values:
11+
12+
- **Default autostop**: How long a workspace runs without user activity before
13+
Coder automatically stops it.
14+
- **Max lifetime**: The maximum duration a workspace stays in a started state
15+
before Coder forcibly stops it.
16+
17+
## Allow users scheduling
18+
19+
For templates where a uniform autostop duration is not appropriate, admins may
20+
allow users to define their own autostart and autostop schedules. Admins can
21+
restrict the days of the week a workspace should automatically start to help
22+
manage infrastructure costs.
23+
24+
## Failure cleanup
25+
26+
Failure cleanup defines how long a workspace is permitted to remain in the
27+
failed state prior to being automatically stopped. Failure cleanup is an
28+
enterprise-only feature.
29+
30+
## Dormancy threshold
31+
32+
Dormancy Threshold defines how long Coder allows a workspace to remain inactive
33+
before being moved into a dormant state. A workspace's inactivity is determined
34+
by the time elapsed since a user last accessed the workspace. A workspace in the
35+
dormant state is not eligible for autostart and must be manually activated by
36+
the user before being accessible. Coder stops workspaces during their transition
37+
to the dormant state if they are detected to be running. Dormancy Threshold is
38+
an enterprise-only feature.
39+
40+
## Dormancy auto-deletion
41+
42+
Dormancy Auto-Deletion allows a template admin to dictate how long a workspace
43+
is permitted to remain dormant before it is automatically deleted. Dormancy
44+
Auto-Deletion is an enterprise-only feature.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy