Skip to content
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

Need the ability to prune unused workspaces after a configurable amount of time. #23250

Open
cgruver opened this issue Nov 13, 2024 · 0 comments
Labels
area/devworkspace-operator area/ux Issues related to User Experience Design kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@cgruver
Copy link

cgruver commented Nov 13, 2024

Is your enhancement related to a problem? Please describe

Developers tend to keep old workspaces that have not been used in a while.

Over time the number of workspaces begins to add up, and can be counted in the thousands for a large developer population.

Workspaces that become stale run the risk of getting out of date with CVE patches, Dependency, and Tooling updates.

Keeping unused workspaces violates the pattern of treating workspaces as ephemeral environments that are created and destroyed as part of a short life-cycle. It can result in a bad habit of persisting data and configuration in the workspace instead of in the SCM.

Describe the solution you'd like

I would like a configuration in the CheCluster CR that allows me to specify a time period for a workspace to be considered stale because it has not been started within the giving period.

I would like an automated job to warn a developer of impending deletion of a workspace.

I would like an automated job to delete stale workspaces.

Describe alternatives you've considered

No response

Additional context

No response

@cgruver cgruver added the kind/enhancement A feature request - must adhere to the feature request template. label Nov 13, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Nov 13, 2024
@dmytro-ndp dmytro-ndp added area/devworkspace-operator area/ux Issues related to User Experience Design severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devworkspace-operator area/ux Issues related to User Experience Design kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants