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.filer.grpcPort }}
targetPort: {{ .Values.filer.grpcPort }}
protocol: TCP
{{- if .Values.filer.metricsPort }}
- name: "swfs-filer-metrics"
port: {{ .Values.filer.metricsPort }}
targetPort: {{ .Values.filer.metricsPort }}
protocol: TCP
{{- end }}
selector:
app: {{ template "seaweedfs.name" . }}
component: filer