Skip to content

Commit

Permalink
Updated KRR OOMkill docs (#1418)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavan Gudiwada <pavangudiwada@users.noreply.github.com>
  • Loading branch information
pavangudiwada and pavangudiwada authored May 15, 2024
1 parent 68085d4 commit af8451a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/playbook-reference/actions/scans.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,21 @@ If you are having performance issues, specifically with Prometheus using a lot o
- The number of data points required to make a recommendation for a resource.
- 100

Configuring KRR Job Memory Requests and Limits
======================================================

To prevent the KRR job from OOMKill (Out of Memory), you can configure the memory requests and limits by adding the following environment variables to your ``generated_values.yaml`` file:

.. code-block:: yaml
runner:
additional_env_vars:
- name: KRR_MEMORY_REQUEST
value: "2Gi"
- name: KRR_MEMORY_LIMIT
value: "2Gi"
By default, the memory request and limit are set to ``1Gi``. Modify these values according to your requirements.

Popeye - A Kubernetes Cluster Sanitizer
************************************************
Expand Down

0 comments on commit af8451a

Please sign in to comment.