From faebef6c581839362b3c6382d0087aafd6f9cf88 Mon Sep 17 00:00:00 2001 From: ahmza Date: Fri, 16 Oct 2026 01:39:57 +0000 Subject: [PATCH] use internal DNS name for VictoriaMetrics endpoint --- apps/victoria-metrics/values.yaml | 10 +++++++--- docs/network.md | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/victoria-metrics/values.yaml b/apps/victoria-metrics/values.yaml index 96f463a..d17e370 100644 --- a/apps/victoria-metrics/values.yaml +++ b/apps/victoria-metrics/values.yaml @@ -1,6 +1,6 @@ # Values for the upstream victoria-metrics-k8s-stack dependency. This cluster # collects metrics only; durable storage and visualization run on the NetBird- -# connected VPS at 100.71.24.9. +# connected VPS prd-vps-hel-01.ahmza.com (NetBird address 100.71.24.9). victoria-metrics-k8s-stack: # Identify this source if more clusters write to the same database later. vmagent: @@ -21,10 +21,14 @@ victoria-metrics-k8s-stack: # Queries are served from the VictoriaMetrics base URL. Remote write uses # its Prometheus-compatible ingestion endpoint. NetBird encrypts the path # between the Talos nodes and VPS, so no public endpoint is involved. + # + # The name resolves only through internal Technitium DNS (10.10.10.10), + # where an authoritative zone maps it to the VPS's NetBird address. If + # that address changes, update Technitium rather than this file. read: - url: http://100.71.24.9:8428 + url: http://prd-vps-hel-01.ahmza.com:8428 write: - url: http://100.71.24.9:8428/api/v1/write + url: http://prd-vps-hel-01.ahmza.com:8428/api/v1/write # Storage and UI already live on prd-vps-hel-01; do not duplicate them here. vmsingle: diff --git a/docs/network.md b/docs/network.md index a6b7e84..ea2b148 100644 --- a/docs/network.md +++ b/docs/network.md @@ -40,7 +40,7 @@ to NetBird access policies. All Talos nodes use the official | Address | What | Port(s) | URL(s) | |---|---|---|---| -| `100.71.24.9` | `prd-vps-hel-01` — external Grafana and VictoriaMetrics host | 3000, 8428 | `http://100.71.24.9:3000`, `http://100.71.24.9:8428` | +| `100.71.24.9` | `prd-vps-hel-01` — external Grafana and VictoriaMetrics host; internal name `prd-vps-hel-01.ahmza.com` (authoritative zone in Technitium) | 3000, 8428 | `http://prd-vps-hel-01.ahmza.com:3000`, `http://prd-vps-hel-01.ahmza.com:8428` | | `100.71.121.67` | `talos-455-i3b` — control plane NetBird address | 50000 | `https://100.71.121.67:50000` | | `100.71.157.217` | `talos-9xy-iuk` — control plane NetBird address | 50000 | `https://100.71.157.217:50000` | | `100.71.242.40` | `talos-k1b-7j5` — control plane NetBird address | 50000 | `https://100.71.242.40:50000` |