mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
# 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
|