Skip to content

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

Closed
wants to merge 3 commits into from
Closed

docs: upcoming auto-stop behavior #8117

wants to merge 3 commits into from

Conversation

bpmct
Copy link
Member

@bpmct bpmct commented Jun 20, 2023

This is a draft PR as we align on the details of our new workspace auto-stop behavior.

```sh
coder templates create my-template --default-ttl 4h
```
- Auto-stop workspaces after 3 hours of inactivity.
Copy link
Member

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:
Copy link
Member

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.

Copy link
Member Author

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:
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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

@github-actions github-actions bot added the stale This issue is like stale bread. label Jul 8, 2023
@github-actions github-actions bot closed this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is like stale bread.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants