-
Notifications
You must be signed in to change notification settings - Fork 887
Automatic resource cleanup #4504
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
Comments
I don't think we should do a lock stage, but maybe just present a warning to the user that they are X days away from this workspace being deleted + some button to extend it. I think this would be a good fit for an enterprise feature to help control static costs. |
The lock feature comes from #4501, which we should be able to cheaply reuse here. A banner is necessary in any world too. |
Related #5265 Also: lock is unnecessary for MVP. |
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity. |
Responding to the stale bot, we would still love to have this feature as we're currently manually monitoring unused workspaces and reaching out to their owners to ask if we can reap them. 🙏 |
Per #5815 I just want an option to stop on fail so it kills the resources and also allows users to review the logs to see that it stopped because of XYZ reason. Doing too much bottom cleaning right now. If there was also a scheduled cleanup stopped workspaces that would be a bonus. |
@bpmct May be we can do something like https://cast.ai/ |
Is this related to: #5815 (comment) And is this actually only going to be an Enterprise feature? |
@dcarrion87 — as the feature is primarily to address scale needs and outside of the developer experience, it's planned for enterprise. |
Docs on the new feature here: https://coder.com/docs/v2/latest/templates/schedule#failure-cleanup. |
As a Coder deployment administrator, I want to avoid the tedious and error-prone job of cleaning up old workspaces. I propose we let admins define an automatic resource cleanup policy. It could work like this:
The text was updated successfully, but these errors were encountered: