krr
by
robusta-dev

Description: Prometheus-based Kubernetes Resource Recommendations

View on GitHub ↗

Summary Information

Updated 38 minutes ago
Added to GitGenius on March 6th, 2026
Created on February 17th, 2023
Open Issues & Pull Requests: 126 (+0)
Number of forks: 279
Total Stargazers: 4,643 (+1)
Total Subscribers: 31 (+0)

Issue Activity (beta)

Open issues: 81
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 504 days
Stale 30+ days: 79
Stale 90+ days: 71

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (3)
  • bug (2)
  • good first issue (1)
  • help wanted (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 22.3 hours
Mean response time: 77.1 days
90th percentile: 341.0 days
Tracked items: 108

Most active contributors

Detailed Description

Robusta KRR is a command-line tool designed to optimize resource allocation in Kubernetes clusters by analyzing pod usage data from Prometheus and recommending appropriate CPU and memory requests and limits. The tool aims to reduce cloud infrastructure costs and improve application performance through intelligent right-sizing of container resources. According to a Sysdig study referenced in the repository, Kubernetes clusters typically have 69% unused CPU and 18% unused memory on average, making KRR's optimization recommendations potentially valuable for significant cost savings.

The tool distinguishes itself from the native Kubernetes Vertical Pod Autoscaler through several key differences. Unlike VPA, KRR does not require installation within the cluster and can run locally on a developer's machine while connected to a cluster. It provides immediate results without requiring time to gather baseline data, and it does not necessitate creating VPA objects for each workload. KRR offers multiple reporting formats including JSON, CSV, Markdown, and a web UI, along with explainability features that show graphs explaining how recommendations were calculated. The tool supports HPA-enabled workloads through an allow-hpa flag and maintains a default 14-day history compared to VPA's 8-day window.

KRR integrates with multiple Prometheus-compatible data sources including Thanos, Victoria Metrics, Google Managed Prometheus, Amazon Managed Prometheus, Azure Managed Prometheus, Coralogix, Grafana Cloud, and Grafana Mimir. The tool requires Prometheus 2.26 or later along with kube-state-metrics and cAdvisor, though no additional setup is needed if using kube-prometheus-stack. It relies on specific metrics including container_cpu_usage_seconds_total, container_memory_working_set_bytes, kube_replicaset_owner, kube_pod_owner, and kube_pod_status_phase.

Installation options include Homebrew for Mac and Linux, Docker containers, pre-built binaries for offline environments, in-cluster deployment via the Robusta Platform, and installation from source using Python 3.9 or greater. The repository includes an auto-apply mode through KRR Enforcer that can automatically apply recommendations to put right-sizing on autopilot. Reporting integrations extend functionality to Slack notifications, k9s plugin integration, and Azure Blob Storage export with Teams notifications.

According to GitGenius activity tracking, the repository shows median issue and pull request response latency of 22.3 hours across 108 tracked items, with a mean latency of 1850.9 hours indicating some longer-running discussions. The most active contributor is aantn with 190 tracked events, followed by arikalon1 with 28 events and patsevanton with 17 events. Enhancement requests represent the most common issue label with 3 instances, followed by bug reports with 2 instances and good first issue designations with 1 instance. The repository's contributor network overlaps with major projects including Microsoft's VSCode and TypeScript repositories as well as the Rust language repository, suggesting involvement from developers across significant open-source ecosystems.

krr
by
robusta-devrobusta-dev/krr

Repository Details

Fetching additional details & charts...