diff options
| -rw-r--r-- | f3s/prometheus/Justfile | 2 | ||||
| -rw-r--r-- | f3s/prometheus/additional-scrape-configs.yaml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/f3s/prometheus/Justfile b/f3s/prometheus/Justfile index 61e1f06..00e8f8a 100644 --- a/f3s/prometheus/Justfile +++ b/f3s/prometheus/Justfile @@ -3,12 +3,14 @@ install: kubectl create secret generic additional-scrape-configs --from-file=additional-scrape-configs.yaml -n monitoring --dry-run=client -o yaml | kubectl apply -f - helm install prometheus prometheus-community/kube-prometheus-stack --namespace monitoring -f persistence-values.yaml kubectl apply -f freebsd-recording-rules.yaml + kubectl apply -f openbsd-recording-rules.yaml just -f grafana-ingress/Justfile install upgrade: kubectl create secret generic additional-scrape-configs --from-file=additional-scrape-configs.yaml -n monitoring --dry-run=client -o yaml | kubectl apply -f - helm upgrade prometheus prometheus-community/kube-prometheus-stack --namespace monitoring -f persistence-values.yaml kubectl apply -f freebsd-recording-rules.yaml + kubectl apply -f openbsd-recording-rules.yaml uninstall: just -f grafana-ingress/Justfile delete diff --git a/f3s/prometheus/additional-scrape-configs.yaml b/f3s/prometheus/additional-scrape-configs.yaml index 4290795..93035d8 100644 --- a/f3s/prometheus/additional-scrape-configs.yaml +++ b/f3s/prometheus/additional-scrape-configs.yaml @@ -6,3 +6,8 @@ - '192.168.2.132:9100' # f2 via WireGuard labels: os: freebsd + - targets: + - '192.168.2.110:9100' # blowfish via WireGuard + - '192.168.2.111:9100' # fishfinger via WireGuard + labels: + os: openbsd |
