mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
add upgrade strategy for standalone mode (#1431)
This commit is contained in:
@@ -10,6 +10,10 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: 1
|
||||
{{- with .Values.mode.standalone.strategy }}
|
||||
strategy:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "rustfs.selectorLabels" . | nindent 6 }}
|
||||
|
||||
@@ -30,6 +30,11 @@ fullnameOverride: ""
|
||||
mode:
|
||||
standalone:
|
||||
enabled: false
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 0
|
||||
maxUnavailable: 1
|
||||
distributed:
|
||||
enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user