Skip to content

Commit e87fb94

Browse files
committed
changes from call
1 parent 2275251 commit e87fb94

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

docs/templates/index.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,30 @@ coder templates create <template-name>
7373

7474
By default, developers have unlimited workspace usage and can use any template version. Template policies allows you to:
7575

76-
- Guarantee developers are using the most recent template version.
7776
- Auto-stop workspaces after 3 hours of inactivity.
78-
- Mandate stopping/restarting of workspaces, regardless of activity status.
77+
- Require workspaces to be restarted frequently to ensure they use the most recent template version.
7978
- Disable workspace auto-start.
8079

80+
### Stop policy
81+
82+
Stop policies require workspaces be stopped (or restarted), regardless of activity:
83+
84+
- Daily (Restart on next quiet hours)
85+
- Weekly (Restart on weekends)
86+
- Custom (Every 2 weeks)
87+
88+
```text
89+
Every [2] [Weeks] on [Friday]
90+
or
91+
Every [2] [Days]
92+
or
93+
Every [4] [Weeks] on [Saturday]
94+
```
95+
96+
- Never
97+
98+
Stops occur during a user's [quiet hours](../workspaces.md#quiet-hours), which prevent interruptions. If a user is still using their workspace, they can postpone a restart up to 3 hours.
99+
81100
Learn more about [workspace auto-stop](../workspaces.md#workspace-auto-stop)
82101

83102
<!-- TODO: Add the dashboard screenshots. We can remove the "most recent version" bullet point once we finish template version policies -->

docs/workspaces.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,27 @@ Workspaces may also have a max lifetime, which enforces a stop or restart even i
5959

6060
![TODO: use real screenshot](./images/workspaces/approaching-stop.png)
6161

62+
#### Quiet hours
63+
6264
To avoid interruptions, users can establish their "quiet hours", which are by default set from midnight to 4 AM, during which these actions occur. Users can also extend the deadline by up to 3 hours if they are in the middle of important work.
6365

66+
Example:
67+
68+
```text
69+
Quiet hours: 12- 4:00 AM
70+
11:30AM: User is notified their workspace is about to stop
71+
72+
user bumps
73+
user bumps
74+
user bumps
75+
76+
4 AM: workspace stops
77+
```
78+
6479
![TODO: use real screenshot](./images/workspaces/quiet-hours.png)
6580

81+
<!-- NOTE: This will be in the "Account settings" page -->
82+
6683
Admin controls around workspace auto-stop are an enterprise feature. [Learn more here](./admin/template)
6784

6885
## Updating workspaces

0 commit comments

Comments
 (0)