Skip to content

Commit

Permalink
Merge pull request #24 from phoenix-bjoern/feature/update-strategy
Browse files Browse the repository at this point in the history
Add support for update strategy
  • Loading branch information
bvis authored Jun 29, 2022
2 parents 9be6053 + 40ca122 commit 49483d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
selector:
matchLabels:
{{- include "varnish.selectorLabels" . | nindent 6 }}
strategy: {{- toYaml .Values.strategy | nindent 4 }}
template:
metadata:
labels:
Expand Down
6 changes: 6 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ autoscaling:
maxReplicas: 10
metrics: []

strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0

service:
type: ClusterIP
port: 80
Expand Down

0 comments on commit 49483d0

Please sign in to comment.