|
@@ -6,11 +6,11 @@ metadata:
|
|
jobLabel: wg-exporter
|
|
jobLabel: wg-exporter
|
|
release: prometheus
|
|
release: prometheus
|
|
name: wg-exporter
|
|
name: wg-exporter
|
|
- namespace: monitoring
|
|
|
|
|
|
+ namespace: mon
|
|
spec:
|
|
spec:
|
|
namespaceSelector:
|
|
namespaceSelector:
|
|
matchNames:
|
|
matchNames:
|
|
- - monitoring
|
|
|
|
|
|
+ - mon
|
|
podMetricsEndpoints:
|
|
podMetricsEndpoints:
|
|
- interval: 15s
|
|
- interval: 15s
|
|
port: metrics
|
|
port: metrics
|
|
@@ -25,7 +25,7 @@ metadata:
|
|
labels:
|
|
labels:
|
|
app.kubernetes.io/name: wg-exporter
|
|
app.kubernetes.io/name: wg-exporter
|
|
name: wg-exporter
|
|
name: wg-exporter
|
|
- namespace: monitoring
|
|
|
|
|
|
+ namespace: mon
|
|
spec:
|
|
spec:
|
|
selector:
|
|
selector:
|
|
matchLabels:
|
|
matchLabels:
|
|
@@ -34,7 +34,7 @@ spec:
|
|
metadata:
|
|
metadata:
|
|
labels:
|
|
labels:
|
|
app.kubernetes.io/name: wg-exporter
|
|
app.kubernetes.io/name: wg-exporter
|
|
- namespace: monitoring
|
|
|
|
|
|
+ namespace: mon
|
|
spec:
|
|
spec:
|
|
hostNetwork: true
|
|
hostNetwork: true
|
|
containers:
|
|
containers:
|
|
@@ -70,7 +70,7 @@ apiVersion: v1
|
|
kind: ConfigMap
|
|
kind: ConfigMap
|
|
metadata:
|
|
metadata:
|
|
name: grafana-wireguard
|
|
name: grafana-wireguard
|
|
- namespace: monitoring
|
|
|
|
|
|
+ namespace: mon
|
|
labels:
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
grafana_dashboard: "1"
|
|
data:
|
|
data:
|