# robusta-dev/krr

Prometheus-based Kubernetes Resource Recommendations

Repository: https://github.com/robusta-dev/krr
Canonical: https://ross.abutalabs.com/products/krr
Language: Python
License: MIT
License Family: permissive
Topics: kubectl, kubernetes, metrics, monitoring, prometheus, rightsizing, vpa, cost-control, cost-saving, finops
Last push: 2026-08-24T08:30:18+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 92
- inputs: {"age_days": 1293, "days_push": 9, "days_rel": 9, "gap_med": 22.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4699, forks 282 (observed 2026-08-28T04:08:57.155848+00:00)

## What it is
Robusta KRR (Kubernetes Resource Recommender) is a CLI tool that optimizes resource allocation in Kubernetes clusters. It gathers pod usage data from Prometheus-compatible sources (Thanos, Victoria Metrics, Mimir, managed Prometheus offerings) and recommends CPU and memory requests and limits to reduce costs and improve performance.

## Use cases
- rightsize kubernetes pod cpu and memory requests and limits
- reduce kubernetes cloud costs by eliminating over-provisioned resources
- generate resource recommendation reports from prometheus metrics
- find under-provisioned pods causing performance issues
- audit cluster resource allocation for finops
- automatically apply resource recommendations to deployments

## When to choose
- you run workloads on Kubernetes and already have Prometheus or a compatible metrics backend
- you want CLI-based or automated rightsizing recommendations without adopting a full VPA setup
- you need cost optimization reports across namespaces or clusters

## When to avoid
- you have no Prometheus-compatible metrics history for your cluster
- you need real-time autoscaling rather than periodic recommendations
- you want a fully managed commercial finops platform with dashboards

## Facets
- artifact type: cli-tool
- maturity: active
- function: monitoring, analytics, developer-tools, cli
- domain: monitoring, cloud-computing, developer-tools
- platform: cli, python, cross-platform
- tags: kubernetes, prometheus, rightsizing, finops, cost-optimization, vpa, kubectl, resource-recommendations, devops, containers

## Member repositories
- robusta-dev/krr (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.155848+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:13.654751+00:00, confidence not recorded.
  - readme: https://github.com/robusta-dev/krr (fetched 2026-08-28T04:08:57.155848+00:00, sha 4a56b4ea6d70)
- Data as of 2026-08-30T08:39:29.467469+00:00.
