# robusta-dev/krr

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/robusta-dev-krr).**

4,466 stars · 259 forks · Python · mit

## Links

- GitHub: https://github.com/robusta-dev/krr
- awesome-repositories: https://awesome-repositories.com/repository/robusta-dev-krr.md

## Topics

`cost-control` `cost-saving` `finops` `kubectl` `kubernetes` `metrics` `monitoring` `prometheus` `rightsizing` `vpa`

## Description

KRR is an open-source tool for analyzing Kubernetes resource requests and recommendations. It evaluates how pods are currently configured and provides suggestions for optimizing CPU and memory allocations based on actual usage patterns.

The project focuses on helping teams right-size their Kubernetes workloads by identifying over-provisioned and under-provisioned resources. It scans clusters and generates reports that highlight where adjustments can reduce costs or improve performance without compromising reliability.

KRR is distributed as a Python command-line tool that can be run directly against a Kubernetes cluster. Its documentation covers installation, configuration, and interpretation of the generated recommendations.

## Tags

### Data & Databases

- [Pod Resource Request Scaling](https://awesome-repositories.com/f/data-databases/horizontal-database-scaling/resource-scaling-strategies/pod-resource-request-scaling.md) — Analyzes historical pod resource usage to suggest and optimize CPU and memory requests and limits. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))

### DevOps & Infrastructure

- [Kubernetes Resource Optimization](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-resource-optimization.md) — Analyzes pod usage data from Prometheus to suggest optimal CPU and memory requests and limits for containers.
- [Automated Infrastructure Tuning](https://awesome-repositories.com/f/devops-infrastructure/automated-infrastructure-tuning.md) — Automatically applies resource recommendation changes to clusters to eliminate manual intervention and improve stability.
- [Cloud Infrastructure Cost Optimization](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-cost-optimization.md) — Identifies overspending in clusters using AI agents and rule-based analysis to reduce infrastructure waste.
- [Infrastructure Reconciliation Engines](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-reconciliation-engines.md) — Automatically applies calculated resource recommendations directly to the infrastructure to eliminate manual configuration steps.
- [Kubernetes Autoscaling Optimizers](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-autoscaling-optimizers.md) — Reduces cloud spend by automatically adjusting resource allocations based on historical workload usage.
- [Resource Recommendation Engines](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-resource-optimization/resource-recommendation-engines.md) — Analyzes Prometheus metrics to suggest optimal CPU and memory requests and limits for Kubernetes pods.
- [Label-Based Selection](https://awesome-repositories.com/f/devops-infrastructure/label-based-selection.md) — Implements filtering mechanisms using container labels to define the scope of resource analysis. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [Resource Cost Management](https://awesome-repositories.com/f/devops-infrastructure/resource-cost-management.md) — Uses an AI agent to investigate clusters and identify overspending and cost-saving opportunities beyond fixed rule-based recommendations. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [Workload Aggregations](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-orchestrators/cross-resource-orchestrators/resource-grouping/workload-aggregations.md) — Aggregates multiple related jobs into single groups based on labels to provide consolidated resource recommendations. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [Resource Recommendation Strategies](https://awesome-repositories.com/f/devops-infrastructure/resource-recommendation-strategies.md) — Provides a configuration interface for defining custom rules and logic to calculate optimal resource suggestions. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [Workload Aggregation Strategies](https://awesome-repositories.com/f/devops-infrastructure/workload-aggregation-strategies.md) — Groups individual pods or namespaces into logical units using regular expression patterns and label selectors for consolidated analysis.

### Artificial Intelligence & ML

- [Cloud Cost Analysis Agents](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-agents/cloud-cost-analysis-agents.md) — Uses an artificial intelligence agent to investigate clusters for cost-saving opportunities beyond static rule-based analysis.
- [Cluster Cost Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/financial-cost-optimizers/cluster-cost-optimizers.md) — Uses an AI agent to investigate Kubernetes clusters and find cost-saving opportunities beyond static rule-based analysis.
- [Automatic Recommendation Applications](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/training-hyperparameters/automated-recommendations/automatic-recommendation-applications.md) — Automatically updates cluster resource settings based on calculated recommendations to eliminate manual intervention. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))

### Software Engineering & Architecture

- [Resource Calculation Strategies](https://awesome-repositories.com/f/software-engineering-architecture/resource-calculation-strategies.md) — Calculates optimal CPU and memory settings by applying predefined rule-based logic to retrieved metric data.
- [Plugin-Based Architectures](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures/plugin-based-architectures.md) — Employs a plugin-based architecture to standardize historical usage retrieval from diverse time-series databases and cloud providers.

### System Administration & Monitoring

- [Kubernetes Metrics Analysis](https://awesome-repositories.com/f/system-administration-monitoring/kubernetes-metrics-analysis.md) — Connects to time-series databases and cloud Prometheus endpoints to retrieve and filter historical workload performance data.
- [Prometheus Metric Analyzers](https://awesome-repositories.com/f/system-administration-monitoring/prometheus-metric-analyzers.md) — Retrieves time-series data from Prometheus to identify over-provisioned cluster resources.
- [Metric Data Source Integrations](https://awesome-repositories.com/f/system-administration-monitoring/time-series-performance-metrics/metric-data-source-integrations.md) — Implements a plugin-based integration layer to retrieve historical usage metrics from diverse time-series databases and cloud providers. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [External Report Sinks](https://awesome-repositories.com/f/system-administration-monitoring/external-report-sinks.md) — Sends recommendation data to external destinations such as chat applications, cloud storage, or web interfaces. ([source](https://cdn.jsdelivr.net/gh/robusta-dev/krr@main/README.md))
- [Recommendation Sinks](https://awesome-repositories.com/f/system-administration-monitoring/recommendation-sinks.md) — Decouples recommendation generation from delivery by routing output data to various external destinations via a standardized export layer.
- [Resource Recommendation Reporting](https://awesome-repositories.com/f/system-administration-monitoring/resource-recommendation-reporting.md) — Exports calculated cost savings and resource suggestions to external sinks like chat apps or cloud storage.
