fix: k8s-chart-helm master metrics scraping (#5142)

This commit is contained in:
Sébastien authored and GitHub committed 2023-12-28 07:46:42 -08:00
1 parent bebbc9fe44
commit 59edb84253
2 files changed
+4 -3

No files matched your search

@@ -18,7 +18,7 @@ spec:
scrapeTimeout: 5s
selector:
matchLabels:
app: {{ template "seaweedfs.name" . }}
component: master
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
app.kubernetes.io/component: master
{{- end }}
{{- end }}
@@ -127,7 +127,8 @@ spec:
-metrics.intervalSeconds={{ .Values.master.metricsIntervalSec }} \
{{- end }}
{{- end }}
{{- else if .Values.master.metricsPort }}
{{- end }}
{{- if .Values.master.metricsPort }}
-metricsPort={{ .Values.master.metricsPort }} \
{{- end }}
-volumeSizeLimitMB={{ .Values.master.volumeSizeLimitMB }} \