add service monitors

This commit is contained in:
Konstantin Lebedev
2020-10-15 18:10:22 +05:00
parent d59446cbb7
commit 6f501a9f0e
11 changed files with 93 additions and 9 deletions

View File

@@ -17,6 +17,12 @@ spec:
port: {{ .Values.volume.grpcPort }}
targetPort: {{ .Values.volume.grpcPort }}
protocol: TCP
selector:
{{- if .Values.volume.metricsPort }}
- name: "swfs-volume-metrics"
port: {{ .Values.volume.metricsPort }}
targetPort: {{ .Values.volume.metricsPort }}
protocol: TCP
{{- end }}}
selector:
app: {{ template "seaweedfs.name" . }}
component: volume