mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
fix: rook-ceph csi metrics
This commit is contained in:
@@ -53,7 +53,7 @@ spec:
|
||||
devices:
|
||||
- name: "nvme0n1"
|
||||
cephBlockPools:
|
||||
- name: ceph-blockpool
|
||||
- name: replicapool
|
||||
spec:
|
||||
failureDomain: host
|
||||
replicated:
|
||||
|
@@ -18,26 +18,26 @@ spec:
|
||||
- port: http-metrics
|
||||
path: /metrics
|
||||
interval: 5s
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: csi-metrics
|
||||
namespace: rook-ceph
|
||||
labels:
|
||||
team: rook
|
||||
spec:
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- rook-ceph
|
||||
selector:
|
||||
matchLabels:
|
||||
app: csi-metrics
|
||||
endpoints:
|
||||
- port: csi-http-metrics
|
||||
path: /metrics
|
||||
interval: 5s
|
||||
# comment csi-grpc-metrics realated information if csi grpc metrics is not enabled
|
||||
- port: csi-grpc-metrics
|
||||
path: /metrics
|
||||
interval: 5s
|
||||
# ---
|
||||
# apiVersion: monitoring.coreos.com/v1
|
||||
# kind: ServiceMonitor
|
||||
# metadata:
|
||||
# name: csi-metrics
|
||||
# namespace: rook-ceph
|
||||
# labels:
|
||||
# team: rook
|
||||
# spec:
|
||||
# namespaceSelector:
|
||||
# matchNames:
|
||||
# - rook-ceph
|
||||
# selector:
|
||||
# matchLabels:
|
||||
# app: csi-metrics
|
||||
# endpoints:
|
||||
# - port: csi-http-metrics
|
||||
# path: /metrics
|
||||
# interval: 5s
|
||||
# # comment csi-grpc-metrics realated information if csi grpc metrics is not enabled
|
||||
# - port: csi-grpc-metrics
|
||||
# path: /metrics
|
||||
# interval: 5s
|
||||
|
Reference in New Issue
Block a user