Title: Feature Request: More options for controlling automatic shutdown · Issue #5600 · coder/coder · GitHub
Open Graph Title: Feature Request: More options for controlling automatic shutdown · Issue #5600 · coder/coder
X Title: Feature Request: More options for controlling automatic shutdown · Issue #5600 · coder/coder
Description: The current situation for auto shutdown appears to be: When you create a Coder Workspace, it will be scheduled to automatically shut down after the TTL set in the template has passed, or what the user has configured in the Workspace sche...
Open Graph Description: The current situation for auto shutdown appears to be: When you create a Coder Workspace, it will be scheduled to automatically shut down after the TTL set in the template has passed, or what the u...
X Description: The current situation for auto shutdown appears to be: When you create a Coder Workspace, it will be scheduled to automatically shut down after the TTL set in the template has passed, or what the u...
Opengraph URL: https://github.com/coder/coder/issues/5600
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: More options for controlling automatic shutdown","articleBody":"The current situation for auto shutdown appears to be:\r\n\r\n> When you create a Coder Workspace, it will be scheduled to automatically shut down after the TTL set in the template has passed, or what the user has configured in the Workspace schedule. If Coder detects any activity (through SSH/Port forwarded connections?), and the Workspace would be shut down in under one hour, it will extend the shut down time to one hour.\r\n\r\nSometimes the \"Stops at\" information is not shown on a Workspace, and I'm not sure why, but when it is, you can only use it to _reduce_ the time at which the Workspace is stopped, or increase it back up to the max TTL.\r\n\r\nWhat I would really like to see is:\r\n\r\n* Ability to increase the lifetime above the max TTL. This could be achieved by introducing a default TTL that is used when the Workspace is created, and users can increase it up to the max TTL.\r\n* Ability to set a shutdown by date & time instead of by \"+ hours\".\r\n* Allow setting a fixed time in the schedule at which the workspace will be shutdown (unless activity is detected or the lifetime was manually extended), similar to how we can currently specify startup times.\r\n\r\nThis would be great for AI research where the allocated resources are very expensive. Having a low \"default TTL\" ensures that we shut down the workspace sooner than later. Currently I wouldn't be able to set the max TTL below 48 hours to allow me to allow the workspace can actually live for this long (to complete scheduled trainings that might take >24h to complete), but this also means that unless I remember to shut down the workspace when I don't need it to run over night, it will just keep running.\r\n\r\nRelated side question: Is it possible to stop the Workspace from _inside_ the workspace without requiring the user to run `coder login` from inside the Workspace first? This could enable to set up a Cron-job that would periodically check resource usage and stop the workspace based on that information.","author":{"url":"https://github.com/NiklasRosenstein","@type":"Person","name":"NiklasRosenstein"},"datePublished":"2023-01-06T09:29:43Z","url":"https://github.com/coder/coder/issues/5600"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f54c6058-a3d8-1fd3-5f7b-f6542c10c94f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4B0:29FFA9:28AA1BD:337E049:6B019B86 |
| html-safe-nonce | 1f0cfc38e711e89c35cc3272218f68b1949e74be8e239897f667a91daeb4af99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEIwOjI5RkZBOToyOEFBMUJEOjMzN0UwNDk6NkIwMTlCODYiLCJ2aXNpdG9yX2lkIjoiNTUxMDY3OTg4NDIzOTgzODA4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e66572540c55f4d89a2bbfdf3abcee171e330009197c104ba0e8fad4db5dc6d0 |
| hovercard-subject-tag | issue:1522257755 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/5600/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43df6df29c1cad5907cd40165637f5e9aae2b59e4d60fac52c9441599c2e6e72/coder/coder/issues/5600 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43df6df29c1cad5907cd40165637f5e9aae2b59e4d60fac52c9441599c2e6e72/coder/coder/issues/5600 |
| og:image:alt | The current situation for auto shutdown appears to be: When you create a Coder Workspace, it will be scheduled to automatically shut down after the TTL set in the template has passed, or what the u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NiklasRosenstein |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width