Skip to content

scheduling: advanced scheduling controls #6047

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
1 of 2 tasks
bpmct opened this issue Feb 6, 2023 · 3 comments · Fixed by #6114 or #7061
Closed
1 of 2 tasks

scheduling: advanced scheduling controls #6047

bpmct opened this issue Feb 6, 2023 · 3 comments · Fixed by #6114 or #7061
Assignees
Labels
enterprise Enterprise-license / premium functionality

Comments

@bpmct
Copy link
Member

bpmct commented Feb 6, 2023

Currently, workspace schedules are only a recommendation and there is no way for admins to enforce a particular shutdown behavior on workspaces. #3630, #5600.

We have seen a decent amount of feedback that warrants us supporting both "max" and "default" TTL as they serve different use cases. For example, max TTL to enforce security patches, but default TTL to ensure workspaces quickly shut down when inactive.

Let's re-introduce the "max TTL" while also keeping the "default TTL" behavior for workspaces. This will allow workspaces to have the following behavior:

  • Workspaces will auto-shutdown after 2 hours of inactivity (default TTL), but cannot be alive for over 72 hours (max TTL).

Also, some admins may not want users to change the default TTL behavior of their workspaces. For example,

  • All workspaces on template x will auto shut down after 2 hours of inactivity. Users cannot change this behavior.

To summarize:

@bpmct bpmct added the enterprise Enterprise-license / premium functionality label Feb 6, 2023
@bpmct
Copy link
Member Author

bpmct commented Feb 6, 2023

This does make the scheduling behavior a bit more complex, so perhaps we could add an "advanced" tab for users who specifically want these controls. This will also be an enterprise feature as it is related to managing workspaces at scale and enforcing policies.

@kylecarbs
Copy link
Member

Adding on to this, I think be cool if the screen was something like this:
image

@ammario ammario changed the title Advanced scheduling controls scheduling: advanced scheduling controls Feb 6, 2023
@deansheather deansheather added bug s1 Bugs that break core workflows. Only humans may set this. labels Feb 14, 2023
@bpmct
Copy link
Member Author

bpmct commented Mar 7, 2023

Reopening, since the user-controlled scheduling controls hasn't been done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise Enterprise-license / premium functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants