Add platform infrastructure configuration
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: aistor-bucket-usage
|
||||
namespace: object-storage
|
||||
labels:
|
||||
app.kubernetes.io/name: minio-aistor
|
||||
app.kubernetes.io/component: bucket-usage-metrics
|
||||
app.kubernetes.io/part-of: platform
|
||||
observability.hyeonworks.com/instance: home
|
||||
spec:
|
||||
jobLabel: aistor.min.io/objectStore
|
||||
selector:
|
||||
matchLabels:
|
||||
aistor.min.io/objectStore: minio-aistor
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- object-storage
|
||||
endpoints:
|
||||
- port: http-minio
|
||||
path: /minio/metrics/v3/cluster/usage/buckets
|
||||
interval: 60s
|
||||
scrapeTimeout: 10s
|
||||
relabelings:
|
||||
- action: keep
|
||||
sourceLabels:
|
||||
- __meta_kubernetes_service_name
|
||||
regex: minio
|
||||
Reference in New Issue
Block a user