diff --git a/deploy/helm/pulse/templates/deployment.yaml b/deploy/helm/pulse/templates/deployment.yaml index 8a1a64814..d1efe9afc 100644 --- a/deploy/helm/pulse/templates/deployment.yaml +++ b/deploy/helm/pulse/templates/deployment.yaml @@ -6,6 +6,8 @@ metadata: {{- include "pulse.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + strategy: + type: {{ .Values.strategy.type | default "RollingUpdate" }} selector: matchLabels: {{- include "pulse.selectorLabels" . | nindent 6 }} diff --git a/deploy/helm/pulse/values.yaml b/deploy/helm/pulse/values.yaml index 8ff54d5e4..672fa7f5e 100644 --- a/deploy/helm/pulse/values.yaml +++ b/deploy/helm/pulse/values.yaml @@ -4,6 +4,11 @@ replicaCount: 1 +# Deployment strategy. Default is RollingUpdate, but Recreate is recommended +# when using ReadWriteOnce (RWO) persistent volumes to avoid Multi-Attach errors. +strategy: + type: RollingUpdate + image: repository: rcourtman/pulse # Overrides the image tag whose default is the chart appVersion.