Browse Source

add podManagementPolicy to start all volume server in parallel

fix indent & remove spaces
pull/1456/head
LazyDBA247-Anyvision 4 years ago
parent
commit
1d6c443b17
  1. 3
      k8s/seaweedfs/templates/volume-statefulset.yaml

3
k8s/seaweedfs/templates/volume-statefulset.yaml

@ -12,6 +12,7 @@ metadata:
spec:
serviceName: {{ template "seaweedfs.name" . }}-volume
replicas: {{ .Values.volume.replicas }}
podManagementPolicy: Parallel
selector:
matchLabels:
app: {{ template "seaweedfs.name" . }}
@ -33,7 +34,7 @@ spec:
restartPolicy: {{ default .Values.global.restartPolicy .Values.volume.restartPolicy }}
{{- if .Values.volume.tolerations }}
tolerations:
{{ tpl .Values.volume.tolerations . | nindent 8 | trim }}
{{ tpl .Values.volume.tolerations . | nindent 8 | trim }}
{{- end }}
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:

Loading…
Cancel
Save