Workspace time-to-live customization
MR: Pending
Description
As a user and administrator there needs to be a method to customize TTL of a workspace. An org needs to be able to declare how long a workspace is allowed to persist, rather than allowing all users to use the max value of 120 hours.
Acceptance Criteria
-
Admin configures max TTL a user is allowed to provision a workspace. When admin declared time is reached the workspace stops. -
Admin can configure duration allowed for workspace to be in the stopped state. When time limit is reached the workspace is terminated. -
If a developer restarts a workspace TTL clock resets.
Technical Requirements
Design Requirements
Impact Assessment
An administrator needs a method to allow workspace to persist that are aligned with their orgs policies. There also needs to be a native method for stale workspaces to be purged from the cluster.
User Story
TODO: Fill out or delete [Provide a user story to illustrate the use case for this feature/enhancement. Include examples to help communicate the intended functionality.]