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
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I have access to and would like to get recommendations about resources running in various namespaces, but I do not have access to Kubernetes node metrics. I have used node-exporter to expose CPU and memory metrics in Grafana via open telemetry collector and would like to use those metrics for KRR to give me recommendations.
Describe the solution you'd like
An option for krr simple enabling me to set the metrics used for CPU and memory. E.g. to use node_memory_MemAvailable_bytes instead of container_memory_working_set_bytes. Currently, I have a Grafana panel that uses 100 * (1 - (node_memory_MemAvailable_bytes{app="$APP"} / node_memory_MemTotal_bytes{app="$APP"})) to show me the memory usage in percent.
Describe alternatives you've considered
The only alternative that I have considered is to ask the administrators of my Kubernetes cluster for permission to access the node metrics, but I doubt that will happen. For now, I have found inspiration in the algorithm that KRR uses to make new panels that can show me the metrics like percentile so that I can fill out the recommendations table manually based on the CPU and memory metrics that I have.
Are you interested in contributing a PR for this?
Yes.
Additional context
I will be happy to add any more context needed for this.
Activity