Workspace Presets #16304
dannykopping
started this conversation in
RFCs
Workspace Presets
#16304
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note
We invite your participation on this feature proposal. Please keep comments substantive. We'd especially love feedback on ways in which this feature may be useful to you and/or where you feel this RFC falls short.
Problem Statement
Workspace templates may be defined with a range of configurable parameters - such as CPU, RAM, disk size, operating system, cloud region, etc. Users may not always know which settings are most appropriate for their needs, and default values don’t necessarily fit every scenario. New or non-technical users may find it especially difficult to choose the right settings.
Furthermore, giving users complete freedom to select these parameters can lead to a proliferation of different workspace types and sizes, making it harder to manage them effectively.
UX & Design
One or more
coder_workspace_preset
blocks can be added to a template, which allows operators to choose combinations ofcoder_parameter
values which together form a “preset”.Any parameters which are not part of the preset will still be displayed.
A “Custom” option will also be (configurably) available for users to choose their own values.
User Stories
Requirements
Initial Functional Requirements
coder_workspace_preset
) in providerprebuilds
attribute on thecoder_workspace_preset
block, specifying how many workspaces using the preset’s parameter values must be prebuiltInitial Non-functional Requirements
Eventual Requirements
Implementation
Creation Flow
coder_workspace_preset
blocks to their templatecoder_workspace_preset
blocks’ properties will be accessible in theplanResources
func, and will be persisted to the databaseUpdate Flow
Beta Was this translation helpful? Give feedback.
All reactions