mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-02 08:36:57 +08:00
18 lines
429 B
YAML
18 lines
429 B
YAML
{{- if .Values.s3.metricsPort }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: {{ template "seaweedfs.name" . }}-s3
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: s3
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
port: swfs-s3-metrics
|
|
scrapeTimeout: 5s
|
|
selector:
|
|
app: {{ template "seaweedfs.name" . }}
|
|
component: s3
|
|
{{- end }} |