mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-26 10:31:17 +00:00
feat: Add deployment strategy configuration to Helm chart
Added strategy.type option to values.yaml (default: RollingUpdate) to allow users to configure the deployment strategy. Users with ReadWriteOnce (RWO) persistent volumes should set this to "Recreate" to avoid Multi-Attach errors during upgrades. Related to #1057
This commit is contained in:
parent
95fb896a03
commit
e4c17777d0
2 changed files with 7 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue