[stable/nginx-ingress] Added update strategy (#2693)

This commit is contained in:
Micah Hausler
2017-11-09 20:52:29 +01:00
committed by Reinhard Nägele
parent 16630ee80a
commit 0b73067402
3 changed files with 11 additions and 0 deletions
@@ -135,4 +135,6 @@ spec:
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
terminationGracePeriodSeconds: 60
updateStrategy:
{{ toYaml .Values.controller.updateStrategy | indent 4 }}
{{- end }}
@@ -11,6 +11,8 @@ metadata:
name: {{ template "controller.fullname" . }}
spec:
replicas: {{ .Values.controller.replicaCount }}
strategy:
{{ toYaml .Values.controller.updateStrategy | indent 4 }}
template:
metadata:
annotations:
+7
View File
@@ -58,6 +58,13 @@ controller:
##
kind: Deployment
# The update strategy to apply to the Deployment or DaemonSet
##
updateStrategy: {}
# rollingUpdate:
# maxUnavailable: 1
# type: RollingUpdate
## Node tolerations for server scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##