补齐 OpenBao 内部健康与快照新鲜度告警
yaml / yaml (push) Successful in 1m28s
ansible / collection-test (push) Successful in 2m27s
ansible / lint (push) Successful in 8m18s

Co-authored-by: panxiao81 <[email protected]>
This commit was merged in pull request #163.
This commit is contained in:
2026-09-25 20:59:36 +00:00
committed by panxiao81
parent 834f654941
commit 7137426e8f
14 changed files with 525 additions and 44 deletions
@@ -61,3 +61,48 @@ spec:
relabelings:
- targetLabel: job
replacement: openbao
---
apiVersion: v1
kind: Service
metadata:
name: openbao-node-metrics
namespace: monitoring
labels:
app.kubernetes.io/name: openbao-node-metrics
spec:
ports:
- name: http
port: 9100
targetPort: 9100
---
apiVersion: v1
kind: Endpoints
metadata:
name: openbao-node-metrics
namespace: monitoring
subsets:
- addresses:
- ip: 192.168.10.8
ports:
- name: http
port: 9100
protocol: TCP
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: openbao-node
namespace: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/name: openbao-node-metrics
endpoints:
- port: http
interval: 30s
scrapeTimeout: 10s
relabelings:
- targetLabel: job
replacement: node-exporter
- targetLabel: node
replacement: bao1