mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
21 lines
509 B
YAML
21 lines
509 B
YAML
{{- if .Values.filer.metricsPort }}
|
|
{{- if .Values.global.monitoring.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: {{ template "seaweedfs.name" . }}-filer
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: filer
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
port: metrics
|
|
scrapeTimeout: 5s
|
|
selector:
|
|
matchLabels:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: filer
|
|
{{- end }}
|
|
{{- end }} |