Skip to content

Commit

Permalink
add minAllowed field for KSM vpa (#361)
Browse files Browse the repository at this point in the history
* add minAllowed field for KSM vpa

* regenerate values schema

* add comment with explanations

* Update helm/kube-prometheus-stack/values.yaml

Co-authored-by: Quentin Bisson <[email protected]>

---------

Co-authored-by: Quentin Bisson <[email protected]>
  • Loading branch information
QuantumEnigmaa and QuentinBisson authored Jan 22, 2024
1 parent 2fda9af commit 3cecb47
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

## [Unreleased]

### Added

- Add `minAllowed` field for KSM vpa.

## [8.1.1] - 2023-12-13

### Changed
Expand Down
11 changes: 11 additions & 0 deletions helm/kube-prometheus-stack/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,17 @@
"properties": {
"enabled": {
"type": "boolean"
},
"minAllowed": {
"type": "object",
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions helm/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ kube-prometheus-stack:
enabled: true
verticalPodAutoscaler:
enabled: true
# We set minAllowed=requests to allow VPA to work efficiently
minAllowed:
cpu: 200m
memory: 200Mi
nodeExporter:
enabled: false
prometheus-node-exporter:
Expand Down

0 comments on commit 3cecb47

Please sign in to comment.