Skip to content

Commit

Permalink
Merge pull request #288 from pauvos/vpa-updatepolicy
Browse files Browse the repository at this point in the history
Allow configuration of vpa.updatePolicy
  • Loading branch information
rasheedamir authored Nov 20, 2023
2 parents 58666cf + 4c309dd commit 051b4a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/templates/vpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ spec:
resourcePolicy:
containerPolicies:
{{- toYaml .Values.vpa.containerPolicies | nindent 6 }}
updatePolicy:
{{- toYaml .Values.vpa.updatePolicy | nindent 4 }}
{{- end }}
2 changes: 2 additions & 0 deletions application/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ vpa:
# key: value
# container policies for individual containers.
containerPolicies: []
updatePolicy:
updateMode: Auto

##########################################################
# EndpointMonitor for IMC
Expand Down

0 comments on commit 051b4a3

Please sign in to comment.