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

Cpu request limit is wrong #74

Open
peterlai-roboops opened this issue Dec 20, 2022 · 3 comments
Open

Cpu request limit is wrong #74

peterlai-roboops opened this issue Dec 20, 2022 · 3 comments

Comments

@peterlai-roboops
Copy link

kube-capacity -n ocsl-dev -p

configuration-server-92-42zwb 250m (1%) 1000m (6%) 750Mi (0%) 1024Mi (0%)

But the actual request in 200m. There are init containers, but none of them are 50m, so i don't understand where its getting the 250m from.

resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 200m
memory: 750Mi

@peterlai-roboops
Copy link
Author

image
So not an issue with the api/v1/pods , that is returning the correct cpu request.

@robscott
Copy link
Owner

Thanks for reporting this! I've been pretty underwater recently but if anyone has time to fix this I'll try to review a PR ASAP.

@cloud-66
Copy link
Contributor

cloud-66 commented Feb 6, 2023

Can you show deployment manifest ? i have initcontainers but this issue is not reproducing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants