question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
l0rdcommented, Dec 4, 2020

Discussed yesterday: @azatsarynnyy should create a specific issue for Theia: profiling and setting of request/limits in meta.yaml. Whereas @ericwill team will start profiling strategic plugins (i.e. those that we deliver on CRW).

0reactions
l0rdcommented, Oct 5, 2021

Follow up epic for CPU/MEM check at runtime https://github.com/eclipse/che/issues/20509

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 1. Customizing the devfile and plug-in registries
Only plug-ins that are published in a registry can be used in a devfile. The devfile registry holds the definitions of the CodeReady...
Read more >
Change log for 4.8.43
#773; Add “NET_RAW” to ironic-endpoint-keepalived #782; Limit the number of hosts simultaneously provisioned #725; Fail registration when boot MAC conflicts ...
Read more >
Plug-in registry :: Eclipse Che Documentation
The Che plug-in registry provides the list of available editors and editor extensions. A Devfile v2 describes each editor or extension.
Read more >
Building a custom devfile registry
yaml file. Add other required files to the stacks. These files can include VSX plug-ins, Dockerfiles, or Kubernetes manifests. The registry build tool ......
Read more >
JavaScript error due to <meta> tag in template - vuepress-theme-blog
In this commit a <meta> tag is added to the page. ... che Add resource limits/requests to the devfiles and plugins in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found