use internal DNS name for VictoriaMetrics endpoint

This commit is contained in:
2026-10-16 01:39:57 +00:00
parent f79691f838
commit faebef6c58
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -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:
+1 -1
View File
@@ -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` |