Skip to content

Add resource limits/requests to the devfiles and plugins in the registries #16685

@l0rd

Description

@l0rd

Is your enhancement related to a problem? Please describe.

If no limits are set the Che default will be inferred. That may result in workspace not able to be scheduled in the Kubernetes cluster.

Describe the solution you'd like

Look for CPU/memory request and limits for each plugins and explicitely specify them. The same for containers components in devfiles.

Additional context

  • Specify che-theia CPU limit (issue / PR)
  • Specify jwt-proxy CPU limit (issue)
  • Specify che-theia-plugins CPU limits (PR)
  • Specify che-machine-exec and remote-runtime-injector CPU limits (PR)
  • Specify che-theia-plugins memory requests in che-theia-plugin.yaml (PR)
  • Add a che-plugin-registry PR check to avoid editros or plugins without mem/cpu requests and limits (PR)
  • Evaluate target namespace ResourceQuota and LimitRange to evaluate and applyg the best mem/cpu requests and limits will be solved in the context of this epic

Metadata

Metadata

Assignees

Labels

area/devfile-registryarea/plugin-registryarea/pluginskind/enhancementA feature request - must adhere to the feature request template.kind/epicA long-lived, PM-driven feature request. Must include a checklist of items that must be completed.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.roadmap/3-monthsEpics that are planned to complete in the short term (within 3 months)sprint/current

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions