-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add last_used
to user workspaces
#381
Comments
Thanks for the issue! |
Your proposed features would definitely make some processes a bit easier but might also add additional data transfers and load on the system by default. |
You are right that additional data needs to be transmitted. However, I think the impact on system load should be negligible. Updating a
That is good to know :) However, I think long-term we should not depend on internal resources names being stable forever: We do not consider the names of temporary resources (i.e. a Session) as part of the API. Furthermore, names might be different than expected, e.g. due to truncation and/or character replacements. Another use case is that such a flag allows easy inspection/filtering of running workspaces for admins without writing custom code cross-referencing with running sessions. |
Is your feature request related to a problem? Please describe.
We are currently writing a functionality to clean up old persistent workspaces that were not used for a longer time. Unfortunately, the
workspace
, thePCV
, and thePV
all only feature aCreationDate
property but not when the resource was last accessed.Using this information, we could not only delete workspaces that are older than 2 weeks but also implement more advanced eviction techniques.
Describe the solution you'd like
A new property on the
workspace
resource providing information about when it was last accessed or mounted to a session.Describe alternatives you've considered
Only delete based on creation date
Cluster provider
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: