mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-25 02:07:55 +08:00
18 lines
444 B
YAML
18 lines
444 B
YAML
|
{{- if .Values.filer.metricsPort }}
|
||
|
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: swfs-filer-metrics
|
||
|
scrapeTimeout: 5s
|
||
|
selector:
|
||
|
app: {{ template "seaweedfs.name" . }}
|
||
|
component: filer
|
||
|
{{- end }}
|