Rosenpass rotates the Link A preshared key (rpi wg0 10.10.0.1 <-> siriussec wg0 10.10.0.2) about every two minutes, but WireGuard keeps using the last key it received: a dead or wedged exchange leaves the tunnel up and silently non-post-quantum, with no alerting signal. node-exporter here is distroless without the textfile collector (and without the dbus plumbing --collector.systemd needs), so observe the host directly: - infrastructure/networking/rosenpass/: POSIX sh script run by a 60 s systemd timer on rpi and siriussec that writes /var/lib/node-exporter/textfile/rosenpass.prom. It exports rosenpass_unit_active, rosenpass_psk_rotation_age_seconds and rosenpass_psk_rotation_last_change_timestamp_seconds; the PSK listing is only ever sha256'd, never logged or persisted. - values.yaml: enable --collector.textfile.directory and mount the hostPath (DirectoryOrCreate, so linode's node-exporter still starts). extraArgs replaces the subchart defaults, so the two filesystem exclusions are repeated verbatim. - rosenpass.yaml: RosenpassDown (5 m) and RosenpassPskRotationStalled (age > 900 s, 10 m), both warning, both with absent() arms so a missing series alerts instead of reading as healthy. Host units are installed out of band (see the directory README); the GitOps side needs a merge before Prometheus loads the rules.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: monitoring
|
|
resources:
|
|
- namespace.yaml
|
|
- repository.yaml
|
|
- release.yaml
|
|
- httproute.yaml
|
|
- gateway-probe.yaml
|
|
- garage.yaml
|
|
- prune-alerts.yaml
|
|
# Flow-loss gate + material-loss alerts for the Hubble sensor (audit F10).
|
|
- hubble-loss-gate.yaml
|
|
# Rosenpass unit-state + PSK-rotation alerts for Link A (rpi <-> siriussec).
|
|
# Series come from a host textfile exporter (infrastructure/networking/rosenpass/),
|
|
# so silently missing data is itself an alert.
|
|
- rosenpass.yaml
|
|
# Nightly consistent sqlite snapshot of Grafana's dashboards/alerts/users.
|
|
- grafana-backup.yaml
|
|
- dashboards
|
|
# Secrets, SOPS/age-encrypted in git (decrypted by the `monitoring`
|
|
# Kustomization; key = flux-system/sops-age). See docs/secrets-sops.md.
|
|
- secret-grafana-admin.sops.yaml
|
|
- secret-grafana-secret-key.sops.yaml
|
|
- secret-alertmanager-telegram.sops.yaml
|
|
- secret-cluster-backup-ssh.sops.yaml
|
|
|
|
configMapGenerator:
|
|
- name: kube-prometheus-stack-values
|
|
files:
|
|
- values.yaml=values.yaml
|
|
configurations:
|
|
- kustomizeconfig.yaml
|