Skip to content
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

wrong warning: [POP-107] No resource limits defined #231

Closed
peddyspg opened this issue Aug 8, 2022 · 1 comment
Closed

wrong warning: [POP-107] No resource limits defined #231

peddyspg opened this issue Aug 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@peddyspg
Copy link

peddyspg commented Aug 8, 2022

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):

  • Popeye 0.10.1

see also

@derailed derailed added the bug Something isn't working label Feb 2, 2024
@derailed
Copy link
Owner

Fixed v0.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants