Sébastien
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
3 deletions
-
k8s/charts/seaweedfs/templates/master-servicemonitor.yaml
-
k8s/charts/seaweedfs/templates/master-statefulset.yaml
|
@ -18,7 +18,7 @@ spec: |
|
|
scrapeTimeout: 5s |
|
|
scrapeTimeout: 5s |
|
|
selector: |
|
|
selector: |
|
|
matchLabels: |
|
|
matchLabels: |
|
|
app: {{ template "seaweedfs.name" . }} |
|
|
|
|
|
component: master |
|
|
|
|
|
|
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
|
|
|
|
|
app.kubernetes.io/component: master |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
@ -127,7 +127,8 @@ spec: |
|
|
-metrics.intervalSeconds={{ .Values.master.metricsIntervalSec }} \ |
|
|
-metrics.intervalSeconds={{ .Values.master.metricsIntervalSec }} \ |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- else if .Values.master.metricsPort }} |
|
|
|
|
|
|
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.master.metricsPort }} |
|
|
-metricsPort={{ .Values.master.metricsPort }} \ |
|
|
-metricsPort={{ .Values.master.metricsPort }} \ |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
-volumeSizeLimitMB={{ .Values.master.volumeSizeLimitMB }} \ |
|
|
-volumeSizeLimitMB={{ .Values.master.volumeSizeLimitMB }} \ |
|
|