Browse Source
Helm: Allow adding additional labels to the service monitors (#5593)
pull/5600/head
Gregor Tudan
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
13 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/filer-servicemonitor.yaml
-
k8s/charts/seaweedfs/templates/master-servicemonitor.yaml
-
k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml
-
k8s/charts/seaweedfs/templates/volume-servicemonitor.yaml
-
k8s/charts/seaweedfs/values.yaml
|
|
@ -12,6 +12,9 @@ metadata: |
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: filer |
|
|
|
{{- with .Values.global.monitoring.additionalLabels }} |
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
{{- end }} |
|
|
|
spec: |
|
|
|
endpoints: |
|
|
|
- interval: 30s |
|
|
|
|
|
@ -12,6 +12,9 @@ metadata: |
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: master |
|
|
|
{{- with .Values.global.monitoring.additionalLabels }} |
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
{{- end }} |
|
|
|
spec: |
|
|
|
endpoints: |
|
|
|
- interval: 30s |
|
|
|
|
|
@ -12,6 +12,9 @@ metadata: |
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: s3 |
|
|
|
{{- with .Values.global.monitoring.additionalLabels }} |
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
{{- end }} |
|
|
|
spec: |
|
|
|
endpoints: |
|
|
|
- interval: 30s |
|
|
|
|
|
@ -12,6 +12,9 @@ metadata: |
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }} |
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }} |
|
|
|
app.kubernetes.io/component: volume |
|
|
|
{{- with .Values.global.monitoring.additionalLabels }} |
|
|
|
{{- toYaml . | nindent 4 }} |
|
|
|
{{- end }} |
|
|
|
spec: |
|
|
|
endpoints: |
|
|
|
- interval: 30s |
|
|
|
|
|
@ -25,6 +25,7 @@ global: |
|
|
|
enabled: false |
|
|
|
gatewayHost: null |
|
|
|
gatewayPort: null |
|
|
|
additionalLabels: {} |
|
|
|
# if enabled will use global.replicationPlacment and override master & filer defaultReplicaPlacement config |
|
|
|
enableReplication: false |
|
|
|
# replication type is XYZ: |
|
|
|