CLI tool for Kubernetes resource recommendations based on Prometheus data
Top 12.9% on sourcepulse
KRR (Kubernetes Resource Recommender) is a CLI tool designed to optimize Kubernetes resource allocation by analyzing historical pod usage data from Prometheus and other compatible time-series databases. It provides actionable CPU and memory request/limit recommendations to reduce cloud costs and improve application performance, targeting DevOps engineers, SREs, and platform teams.
How It Works
KRR gathers pod usage metrics from data sources like Prometheus, Thanos, and Coralogix. It employs strategies, such as recommending CPU requests at the 95th percentile and memory requests based on the maximum observed value plus a buffer, to suggest optimal resource configurations. This approach aims to right-size containers without requiring agents within the cluster or per-workload VPA object configurations.
Quick Start & Requirements
brew install robusta-dev/homebrew-krr/krr
) or Docker (us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:v1.8.3
).container_cpu_usage_seconds_total
and container_memory_working_set_bytes
must be available.kubectl apply
is also supported.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 day ago
1 week