Browse Source

fix: use metricsPort correctly

pull/5013/head
dongyue 1 year ago
committed by Chris Lu
parent
commit
0bf67a4822
  1. 2
      k8s/charts/seaweedfs/templates/master-statefulset.yaml
  2. 2
      k8s/charts/seaweedfs/templates/volume-statefulset.yaml

2
k8s/charts/seaweedfs/templates/master-statefulset.yaml

@ -126,10 +126,10 @@ spec:
{{- if .Values.master.metricsIntervalSec }}
-metrics.intervalSeconds={{ .Values.master.metricsIntervalSec }} \
{{- end }}
{{- end }}
{{- else if .Values.master.metricsPort }}
-metricsPort={{ .Values.master.metricsPort }} \
{{- end }}
{{- end }}
-volumeSizeLimitMB={{ .Values.master.volumeSizeLimitMB }} \
{{- if .Values.master.disableHttp }}
-disableHttp \

2
k8s/charts/seaweedfs/templates/volume-statefulset.yaml

@ -185,7 +185,7 @@ spec:
- containerPort: {{ .Values.volume.port }}
name: swfs-vol
{{- if .Values.volume.metricsPort }}
- containerPort: {{ .Values.filer.metricsPort }}
- containerPort: {{ .Values.volume.metricsPort }}
name: metrics
{{- end }}
- containerPort: {{ .Values.volume.grpcPort }}

Loading…
Cancel
Save