Comments (9)
Hey, @lindaorny!
This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12
Could you check if that branch is working for you?
Also, none
is expected, as simple strategy proposes not to place limits on CPU by default
from krr.
@LeaveMyYard I have changed branch and the CPU metrics worked for me! However, the Memory Requests and Limits are still shown as question mark.
from krr.
I used the fix-CPU-metric
branch and still show the same CPU Requests --> none
.
My kubernetes version is 1.24.6 in on-premise environment.
from krr.
I used the
fix-CPU-metric
branch and still show the same CPU Requests -->none
. My kubernetes version is 1.24.6 in on-premise environment.
Sorry just check my prometheus query and shows the labels
in our workload is different from the cpu_metric.py
and memory_metric.py
.
from krr.
@muhammad-asn can you share your labels? Perhaps it's possible to support?
from krr.
@aantn I think it's invalid case from my side. I try with native cadvisor (not robusta) installation and by default it uses (example: container_label_io_kubernetes_pod_name
) as the labels so need to do relabeling from the prometheus side.
Based on this label:
google/cadvisor#3162
Sorry for the previous wrong link.
from krr.
Hey, @lindaorny! This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12 Could you check if that branch is working for you?
Also,
none
is expected, as simple strategy proposes not to place limits on CPU by default
Seems the memory requests and limits are still returning none.
from krr.
Hey, @lindaorny! This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12 Could you check if that branch is working for you?
Also,none
is expected, as simple strategy proposes not to place limits on CPU by defaultSeems the memory requests and limits are still returning none.
Can show the memory limit and request now! Thank you so much!
from krr.
@aantn I think it's invalid case from my side. I try with native cadvisor (not robusta) installation and by default it uses (example:
container_label_io_kubernetes_pod_name
) as the labels so need to do relabeling from the prometheus side.
Got it, thanks. If you find an easy solution, please share here so we can document it for others.
from krr.
Related Issues (20)
- Flag for krr to filter by resource kind list seems broken in v1.6.0 HOT 3
- Feature request : export to a csv file HOT 6
- Support Prometheus versions before 2.26 HOT 3
- Not showing recommandation with AWS managed prometheus HOT 3
- Failed to use custom strategy : "Cannot import name 'MaxCPULoader' " HOT 1
- arm64 support HOT 3
- [Feature] Add support Horizontal Pod Autoscaling HOT 4
- KRR fails to connect to Thanos for recommendations on OpenShift HOT 4
- Provide recommendations for historical deployments HOT 6
- Analyze a period of usage on the metric server with krr HOT 1
- Krr since 1.5.X does not return recommendations HOT 4
- Incorrect iteration over multiple selected namespaces HOT 2
- Request to keep old versions in the formula via Homebrew HOT 1
- --fileoutput is not printing to file HOT 3
- A container perhaps so we don't have to use brew or install? HOT 1
- Ignore Argo Rollouts with no template HOT 7
- Prometheus discovery by CRD and custom labels HOT 3
- Allow to run `robusta_krr.run()` more than once. HOT 6
- WSL install failure due to missing python lib `GLIBC_2.35' not found HOT 1
- Unclear formatting when sending the report as PDF via Slack HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krr.