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

Prometheus returned no PercentileCPULoader metrics with the simple strategy #280

Open
DzeCin opened this issue May 16, 2024 · 0 comments
Open

Comments

@DzeCin
Copy link

DzeCin commented May 16, 2024

Describe the bug
When running krr version 1.8.3 (the windows binary) with the simple stratey, I can get the memory recommendations but not the CPU one.
I get those logs "Prometheus returned no PercentileCPULoader metrics with the simple strategy".
On the version 1.4.1, the cpu recommendations (and the memory one) work.

I have all the requested metrics.

To Reproduce
Steps to reproduce the behavior:

  1. Open powershell
  2. Port forward prometheus svc : kubectl port-forward -n monitoring svc/prometheus-server 80:80
  3. Run .\krr.exe simple -p http://localhost:80 --memory_buffer_percentage=5
  4. Logs such as "Prometheus returned no PercentileCPULoader metrics for Deployment" appear
  5. Get this table:
image

Expected behavior
I expect that the CPU requests and limits are caclulated

Screenshots
image

Are you interested in contributing a fix for this?
Yes

Desktop (please complete the following information):

  • OS: Windows Server 2022 Datacenter Azure Edition
  • KRR Version 1.8.3

Additional context
It works fine with KRR 1.4.1, even though the memory recommendation given are not the same as the version 1.8.3.

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

1 participant