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
Describe the bug
In our opinion a warning like "[POP-107] No resource limits defined" is wrong, if requests.cpu is set.
To Reproduce
Define a POD with containerlimits, like (ip-masq-agent on GKE): ... imagePullPolicy: IfNotPresent name: ip-masq-agent resources: requests: cpu: 10m memory: 16Mi securityContext:...
Expected behavior
This warning should only be given, if no "limits and no requests" are set.
Reason: in many situations you don't want to set "limits.cpu", because you want a container can take all cpu-resources under the respect of "reguests.cpu" of other PODS/Containers.
From another point of view: Why restrict a container to "limits.cpu", when there are enough unused cpu power left?
Versions (please complete the following information):
Describe the bug
In our opinion a warning like "[POP-107] No resource limits defined" is wrong, if requests.cpu is set.
To Reproduce
Define a POD with containerlimits, like (ip-masq-agent on GKE):
... imagePullPolicy: IfNotPresent name: ip-masq-agent resources: requests: cpu: 10m memory: 16Mi securityContext:...
Expected behavior
This warning should only be given, if no "limits and no requests" are set.
Reason: in many situations you don't want to set "limits.cpu", because you want a container can take all cpu-resources under the respect of "reguests.cpu" of other PODS/Containers.
From another point of view: Why restrict a container to "limits.cpu", when there are enough unused cpu power left?
Versions (please complete the following information):
see also
The text was updated successfully, but these errors were encountered: