You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently C-0050 checks if both cpu requests and cpu limits are set. Optionally a min/max value for both values can be configured.
Problem
Setting a cpu limit can have unwanted side effects, a good article on this topic is f.e. https://home.robusta.dev/blog/stop-using-cpu-limits. Enforcing the cpu requests, on the other hand, is a good idea.
The controls for checking resource requests and limits are C-0004, C-0009 and C-0050. But we cannot make a combination to check only memory requests, memory limits and cpu requests.
Adding an exception does not work as it can not differentiate between just missing the cpu limit or missing the cpu requests as well.
Solution
Add an additional configuration param to C-0050 to opt-out of the cpu limit check, so only cpu requests is checked.
Alternatives
Additional context
The text was updated successfully, but these errors were encountered:
Overview
Currently C-0050 checks if both cpu requests and cpu limits are set. Optionally a min/max value for both values can be configured.
Problem
Setting a cpu limit can have unwanted side effects, a good article on this topic is f.e. https://home.robusta.dev/blog/stop-using-cpu-limits. Enforcing the cpu requests, on the other hand, is a good idea.
The controls for checking resource requests and limits are C-0004, C-0009 and C-0050. But we cannot make a combination to check only memory requests, memory limits and cpu requests.
Adding an exception does not work as it can not differentiate between just missing the cpu limit or missing the cpu requests as well.
Solution
Add an additional configuration param to C-0050 to opt-out of the cpu limit check, so only cpu requests is checked.
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: