Skip to content

Commit

Permalink
Tune resource requests & limits (#149)
Browse files Browse the repository at this point in the history
a
  • Loading branch information
kubasobon authored Oct 28, 2022
1 parent e6cfdbd commit af0682a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add a check if VPA capabilities exist in the first place.

### Changed

- Upgrade ATS to `v0.2.9`
- Bump upstream flux toolkit version to from `v0.35.0` to `v0.36.0`. There are
no breaking changes.
- Change resource requests & limits.

## [0.16.1] - 2022-10-11

Expand Down
2 changes: 2 additions & 0 deletions helm/flux-app/templates/vpa.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Capabilities.APIVersions.Has "autoscaling.k8s.io/v1" }}
{{ if .Values.verticalPodAutoscaler.enabled }}
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
Expand Down Expand Up @@ -117,3 +118,4 @@ spec:
updatePolicy:
updateMode: Auto
{{ end }}
{{ end }}
24 changes: 12 additions & 12 deletions helm/flux-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,44 +50,44 @@ crds:
resources:
helmController:
limits:
cpu: 1000m
cpu: 500m
# Set max allowed memory limit for VPA due to high memory usage.
memory: 1Gi
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
imageAutomationController:
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
imageReflectorController:
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
kustomizeController:
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
notificationController:
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
sourceController:
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 256Mi
requests:
cpu: 50m
memory: 64Mi
Expand Down

0 comments on commit af0682a

Please sign in to comment.