You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
504 B
20 lines
504 B
{{- if .Values.volume.metricsPort }}
|
|
{{- if .Values.global.monitoring.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: {{ template "seaweedfs.name" . }}-volume
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: volume
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
port: swfs-volume-metrics
|
|
scrapeTimeout: 5s
|
|
selector:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: volume
|
|
{{- end }}
|
|
{{- end }}
|