mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Remove hardcoded podManagmentPolicy value in a helm chart (#4941)
This commit is contained in:
parent
179039afaa
commit
8dfb66880e
|
@ -12,7 +12,7 @@ metadata:
|
||||||
app.kubernetes.io/component: filer
|
app.kubernetes.io/component: filer
|
||||||
spec:
|
spec:
|
||||||
serviceName: {{ template "seaweedfs.name" . }}-filer
|
serviceName: {{ template "seaweedfs.name" . }}-filer
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: {{ .Values.filer.podManagementPolicy }}
|
||||||
replicas: {{ .Values.filer.replicas }}
|
replicas: {{ .Values.filer.replicas }}
|
||||||
{{- if (gt (int .Values.filer.updatePartition) 0) }}
|
{{- if (gt (int .Values.filer.updatePartition) 0) }}
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
|
|
|
@ -11,7 +11,7 @@ metadata:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
serviceName: {{ template "seaweedfs.name" . }}-master
|
serviceName: {{ template "seaweedfs.name" . }}-master
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: {{ .Values.master.podManagementPolicy }}
|
||||||
replicas: {{ .Values.master.replicas }}
|
replicas: {{ .Values.master.replicas }}
|
||||||
{{- if (gt (int .Values.master.updatePartition) 0) }}
|
{{- if (gt (int .Values.master.updatePartition) 0) }}
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
|
|
|
@ -12,7 +12,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
serviceName: {{ template "seaweedfs.name" . }}-volume
|
serviceName: {{ template "seaweedfs.name" . }}-volume
|
||||||
replicas: {{ .Values.volume.replicas }}
|
replicas: {{ .Values.volume.replicas }}
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: {{ .Values.volume.podManagementPolicy }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
|
||||||
|
|
|
@ -94,6 +94,9 @@ master:
|
||||||
extraVolumes: ""
|
extraVolumes: ""
|
||||||
extraVolumeMounts: ""
|
extraVolumeMounts: ""
|
||||||
|
|
||||||
|
## Set podManagementPolicy
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
|
||||||
# Resource requests, limits, etc. for the master cluster placement. This
|
# Resource requests, limits, etc. for the master cluster placement. This
|
||||||
# should map directly to the value of the resources field for a PodSpec,
|
# should map directly to the value of the resources field for a PodSpec,
|
||||||
# formatted as a multi-line string. By default no direct resource request
|
# formatted as a multi-line string. By default no direct resource request
|
||||||
|
@ -269,6 +272,9 @@ volume:
|
||||||
extraVolumes: ""
|
extraVolumes: ""
|
||||||
extraVolumeMounts: ""
|
extraVolumeMounts: ""
|
||||||
|
|
||||||
|
## Set podManagementPolicy
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
|
||||||
# Affinity Settings
|
# Affinity Settings
|
||||||
# Commenting out or setting as empty the affinity variable, will allow
|
# Commenting out or setting as empty the affinity variable, will allow
|
||||||
# deployment to single node services such as Minikube
|
# deployment to single node services such as Minikube
|
||||||
|
@ -402,6 +408,9 @@ filer:
|
||||||
extraVolumes: ""
|
extraVolumes: ""
|
||||||
extraVolumeMounts: ""
|
extraVolumeMounts: ""
|
||||||
|
|
||||||
|
## Set podManagementPolicy
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
|
||||||
# Affinity Settings
|
# Affinity Settings
|
||||||
# Commenting out or setting as empty the affinity variable, will allow
|
# Commenting out or setting as empty the affinity variable, will allow
|
||||||
# deployment to single node services such as Minikube
|
# deployment to single node services such as Minikube
|
||||||
|
|
Loading…
Reference in a new issue