1
0
forked from k-space/kube

Move Ansible directory to separate repo

This commit is contained in:
2024-08-12 21:41:36 +03:00
parent 68e936463b
commit 7c2b862ca8
15 changed files with 23 additions and 1018 deletions

View File

@@ -1 +0,0 @@
../ansible/zrepl/prom.yaml

23
monitoring/zrepl.yaml Normal file
View File

@@ -0,0 +1,23 @@
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
name: zrepl
spec:
scrapeTimeout: 30s
targets:
staticConfig:
static:
- nas.mgmt.k-space.ee:9811
# - offsite.k-space.ee:9811 # TODO: unreachable
relabelingConfigs:
- sourceLabels: [__param_target]
targetLabel: instance
- sourceLabels: [__param_target]
targetLabel: __address__
prober:
url: localhost
path: /metrics
metricRelabelings:
- sourceLabels: [__address__]
targetLabel: target