Skip to content

krr

Prometheus-based Kubernetes Resource Recommendations

Robusta KRR (Kubernetes Resource Recommender) is a CLI tool for optimizing resource allocation in Kubernetes clusters. It gathers pod usage data from Prometheus and recommends requests and limits for CPU and memory. This reduces costs and improves performance.

devops

https://github.com/robusta-dev/krr

amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install krr

sudo apt install krr

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    krr=1.6.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      krr=1.6.0*

Download URLs

Version SHA256 Size (KB)
1.6.0 ac10d50b02d5f578006f28ce18e6dff7e4b720f1b5448f99363ec5ef04930e01 46128

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for krr are versioned here.

Click here to see krr ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/krr/ops2deb.yml
name: krr
matrix:
  architectures:
    - amd64
version: 1.6.0
homepage: https://github.com/robusta-dev/krr
summary: Prometheus-based Kubernetes Resource Recommendations
description: |-
  Robusta KRR (Kubernetes Resource Recommender) is a CLI tool for optimizing
  resource allocation in Kubernetes clusters. It gathers pod usage data from
  Prometheus and recommends requests and limits for CPU and memory. This reduces
  costs and improves performance.
fetch: https://github.com/robusta-dev/krr/releases/download/v1.6.0/krr-ubuntu-latest-v1.6.0.zip
install:
  - krr:/usr/lib/krr
script:
  - ln -s /usr/lib/krr/krr {{src}}/usr/bin/krr
  - chmod +x {{src}}/usr/lib/krr/krr

The blueprint fetch keyword contains a URL template pointing to krr releases. Downloaded files are locked in a lockfile versioned here.

Click here to see krr release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/krr/ops2deb.lock.yml
- url: https://github.com/robusta-dev/krr/releases/download/v1.6.0/krr-ubuntu-latest-v1.6.0.zip
  sha256: 7714ab957f0b4e131fabde980e2e83422285f86847ad64ce06ba8c2a9d043afe
  timestamp: 2023-11-30 16:03:39+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/krr.svg)](https://docs.wakemeops.com/packages/krr)
<a href="https://docs.wakemeops.com/packages/krr">
  <img src="https://docs.wakemeops.com/badges/krr.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/krr.svg
:target: https://docs.wakemeops.com/packages/krr