-
Notifications
You must be signed in to change notification settings - Fork 887
docs: upcoming auto-stop behavior #8117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
```sh | ||
coder templates create my-template --default-ttl 4h | ||
``` | ||
- Auto-stop workspaces after 3 hours of inactivity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: these clauses shouldn't end with periods since they're not complete sentences
|
||
To control cost, specify a maximum time to live flag for a template in hours or | ||
minutes. | ||
By default, developers have unlimited workspace usage and can use any template version. Template policies allows you to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add something about how developers have full control of their workspace schedules without policy. The policy is just the enforcement layer. It reads to me like the community edition doesn't have scheduling at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree. I will rephrase
|
||
To control cost, specify a maximum time to live flag for a template in hours or | ||
minutes. | ||
By default, developers have unlimited workspace usage and can use any template version. Template policies allows you to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't a developer use only the active version of a template? Only admins can create workspaces from any version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We plan on making the behavior configurable per-template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But restricting users to only use the active template is a good double-check if we do something like this
This is a draft PR as we align on the details of our new workspace auto-stop behavior.