-
Notifications
You must be signed in to change notification settings - Fork 61
Allow configuring memory and CPU requests / limits #1343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As discussed, it's possible to set the memory and CPU limits of the DWO pod in the Example:
However, the resource limits are applied to all containers (2) in the pod, and not just the |
If we remove the use of kube-rbac-proxy to use WithAuthenticationAndAuthorization as described in #1352, this won't be a problem anymore. |
In order to use WithAuthenticationAndAuthorization , we need to have controller-runtime >=0.16.0 Line 27 in efb5ad6
I had created a PR on devfile/api to bump controller-runtime to v0.18.7 devfile/api#1712 . We should be able to work on this after devfile/api is released and we upgrade to new version. |
Description
Currently, it is not possible to configure memory and CPU for DWO pod. The only workaround is patching CSV directly, but since the CSV gets replaced as part of an upgrade, the modified value gets reverted to the older default values e.g. for devworkspace-controller-manager
Additional context
Need to investigate if we can propagate RAM / CPU configuration from the subscription directly and if it is a good approach in general - https://developers.redhat.com/articles/2023/03/06/5-global-environment-variables-provided-openshift-gitops#
More details https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/subscription-config.md
The text was updated successfully, but these errors were encountered: