DEV-878: added some stuff for monitoring s3 storage
parent
1e3efc9129
commit
e140cea417
@ -1,7 +1,7 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: egress-postgres2prometheuspushgw
|
||||
name: egress-all2prometheuspushgw
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
@ -0,0 +1,27 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: minio
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
v1.min.io/tenant: {{ .Values.tenant.tenant.name }}
|
||||
spec:
|
||||
jobLabel: minio
|
||||
selector:
|
||||
matchLabels:
|
||||
v1.min.io/tenant: {{ .Values.tenant.tenant.name }}
|
||||
endpoints:
|
||||
- port: https-minio
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
path: /minio/v2/metrics/cluster
|
||||
scheme: https
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
- port: https-minio
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
path: /minio/v2/metrics/node
|
||||
scheme: https
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
Loading…
Reference in New Issue