Skip to content

Add last_used to user workspaces #381

Description

@iyannsch

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, the PCV, and the PV all only feature a CreationDate 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions