mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# PodMonitors for Netbird native Prometheus metrics
|
||||
# Management, Signal, and Relay servers expose metrics on port 9090
|
||||
# when NB_METRICS_PORT is set
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: netbird-management
|
||||
namespace: netbird
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: management
|
||||
app.kubernetes.io/name: netbird
|
||||
podMetricsEndpoints:
|
||||
- port: "9090"
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: netbird-signal
|
||||
namespace: netbird
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: signal
|
||||
app.kubernetes.io/name: netbird
|
||||
podMetricsEndpoints:
|
||||
- port: "9090"
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: netbird-relay
|
||||
namespace: netbird
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: relay
|
||||
app.kubernetes.io/name: netbird
|
||||
podMetricsEndpoints:
|
||||
- port: "9090"
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
Reference in New Issue
Block a user