Skip to content

Allow for global configuration of workspace resource requests #23243

@cgruver

Description

@cgruver

Is your enhancement related to a problem? Please describe

An inexperienced developer can cause a cluster node to become unschedulable by creating a devfile which has extreme values for cpuRequest or memoryRequest

Describe the solution you'd like

  1. Allow for global configuration of the default cpuRequest & memoryRequest values.
  2. Allow for global configuration to ignore devfile defined cpuRequest & memoryRequest entries in a devfiles.
  3. If cpuLimit or memoryLimit is set in a devfile, the cpuRequest & memoryRequest should still use the default values and not be set to the requested limits.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Labels

area/devworkspace-operatorkind/enhancementA feature request - must adhere to the feature request template.severity/P2Has a minor but important impact to the usage or development of the system.status/analyzingAn issue has been proposed and it is currently being analyzed for effort and implementation approach

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions