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:
@@ -20,7 +20,7 @@ spec:
|
|||||||
timeZone: Europe/Paris
|
timeZone: Europe/Paris
|
||||||
benji:
|
benji:
|
||||||
configuration:
|
configuration:
|
||||||
configurationVersion: '1'
|
configurationVersion: "1"
|
||||||
databaseEngine: postgresql://benji:secret@benji-postgresql-headless:5432/benji
|
databaseEngine: postgresql://benji:secret@benji-postgresql-headless:5432/benji
|
||||||
defaultStorage: storage-1
|
defaultStorage: storage-1
|
||||||
storages:
|
storages:
|
||||||
@@ -48,12 +48,12 @@ spec:
|
|||||||
activeDeadlineSeconds: null
|
activeDeadlineSeconds: null
|
||||||
startingDeadlineSeconds: null
|
startingDeadlineSeconds: null
|
||||||
crontab:
|
crontab:
|
||||||
- name: backup-data
|
- name: backup-pvc
|
||||||
schedule: "00 22 * * *"
|
schedule: "00 22 * * *"
|
||||||
command:
|
command:
|
||||||
- benji-backup-pvc
|
- benji-backup-pvc
|
||||||
- --selector
|
- --selector
|
||||||
- 'benji-backup.me/instance=benji-k8s'
|
- "benji-backup.me/instance=benji-k8s"
|
||||||
- name: benji-enforce
|
- name: benji-enforce
|
||||||
schedule: "30 22 * * *"
|
schedule: "30 22 * * *"
|
||||||
command:
|
command:
|
||||||
|
@@ -8,3 +8,4 @@ resources:
|
|||||||
- podmonitor.yaml
|
- podmonitor.yaml
|
||||||
- prometheus-rule.yaml
|
- prometheus-rule.yaml
|
||||||
- pgbackups.yaml
|
- pgbackups.yaml
|
||||||
|
#- job.yaml
|
||||||
|
@@ -53,7 +53,7 @@ spec:
|
|||||||
devices:
|
devices:
|
||||||
- name: "nvme0n1"
|
- name: "nvme0n1"
|
||||||
cephBlockPools:
|
cephBlockPools:
|
||||||
- name: ceph-blockpool
|
- name: replicapool
|
||||||
spec:
|
spec:
|
||||||
failureDomain: host
|
failureDomain: host
|
||||||
replicated:
|
replicated:
|
||||||
|
@@ -18,26 +18,26 @@ spec:
|
|||||||
- port: http-metrics
|
- port: http-metrics
|
||||||
path: /metrics
|
path: /metrics
|
||||||
interval: 5s
|
interval: 5s
|
||||||
---
|
# ---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
# apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
# kind: ServiceMonitor
|
||||||
metadata:
|
# metadata:
|
||||||
name: csi-metrics
|
# name: csi-metrics
|
||||||
namespace: rook-ceph
|
# namespace: rook-ceph
|
||||||
labels:
|
# labels:
|
||||||
team: rook
|
# team: rook
|
||||||
spec:
|
# spec:
|
||||||
namespaceSelector:
|
# namespaceSelector:
|
||||||
matchNames:
|
# matchNames:
|
||||||
- rook-ceph
|
# - rook-ceph
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app: csi-metrics
|
# app: csi-metrics
|
||||||
endpoints:
|
# endpoints:
|
||||||
- port: csi-http-metrics
|
# - port: csi-http-metrics
|
||||||
path: /metrics
|
# path: /metrics
|
||||||
interval: 5s
|
# interval: 5s
|
||||||
# comment csi-grpc-metrics realated information if csi grpc metrics is not enabled
|
# # comment csi-grpc-metrics realated information if csi grpc metrics is not enabled
|
||||||
- port: csi-grpc-metrics
|
# - port: csi-grpc-metrics
|
||||||
path: /metrics
|
# path: /metrics
|
||||||
interval: 5s
|
# interval: 5s
|
||||||
|
Reference in New Issue
Block a user