Disable resource requests in Helm CI runs #2735
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Dimitar Dimitrov dimitar.dimitrov@grafana.com
What this PR does
During the development of #2087 helm CI runs (call-lint-test / lint-test) started failing because pods could not be scheduled (example). The info at the end of the run which describes all pods showed the following for two pods:
GitHub hosted runners only have 2 CPUs and 7GB of memory (docs).
This PR removes resource limits and requirements for some pods in the CI values files for Helm. This way Kubernetes won't have to calculate resource quotas. The caveat is that now CI runs may become less stable because of resource contention.
The changes here were cherry-picked onto the work in #2087 to demonstrate that they unblock the CI runs - example run
An alternative approach is to install self-hosted runners with more available CPU and memory. A second alternative is to migrate the CI runs to drone, for which we have bigger agents.