docs: Grafana persistence + admin-password ownership and recovery path

Records what now persists (sqlite DB on a 5Gi local-path PVC, pinned
GF_SECURITY_SECRET_KEY), that provisioned dashboards still win over UI edits,
that the Secret is only the first-boot seed (the DB owns the password after
that), the reset-admin-password recovery path, and the one-off rollingUpdate
patch the Recreate transition needed.
This commit is contained in:
Lance Walters 2026-10-27 01:04:12 -04:00
commit 53e85ca6e4
3 changed files with 39 additions and 22 deletions

View file

@ -47,7 +47,7 @@ Related: [[WireGuard Mesh]], [[Home Lab Runbook]], [[Pi Reboot Recovery]]
| Node | Hardware | OS / kernel | Arch | LAN | Overlay | Pod CIDR | Roles / labels | Taints |
|---|---|---|---|---|---|---|---|---|
| `siriussec` | ThinkPad T480 | Arch Linux, `6.18.50-2-lts` | amd64 | `192.168.1.179` (`enp0s31f6`) | `10.10.0.2` (`wg0`) | `10.244.0.0/24` | `control-plane`, `worker`, `gateway=true`, `node-role…/gateway=true`, `exclude-from-external-load-balancers` | **none** |
| `rpi` | Raspberry Pi (8 GiB) | Debian 13 trixie, `6.18.39+rpt-rpi-2712` | arm64 | `192.168.1.125` (`eth0`) | `10.10.0.1` (`wg0`), `10.20.0.2` (`wg-remote`) | `10.244.1.0/24` | `worker`, `node-role…/gateway=true`, `node-role…/traffic`, `dedicated=network` | **none** |
| `rpi` | Raspberry Pi (8 GiB) | Debian 13 trixie, `6.18.39+rpt-rpi-2712` | arm64 | `192.168.1.125` (`eth0`) | `10.10.0.1` (`wg0`), `10.20.0.2` (`wg-remote`) | `10.244.1.0/24` | `worker`, `node-role…/traffic`, `dedicated=network` (**no** `gateway=true` since 2026-10-27) | **none** |
| `linode` | Linode VPS, Atlanta | Debian 13 trixie, `6.12.113+deb13-amd64` | amd64 | public `50.116.38.217` | `10.10.0.5` (`dummy-k8s`), `10.20.0.1` (`wg0`, hub role) | `10.244.2.0/24` | `dedicated=network` | **none** |
Node conditions are clean on all three: `Ready=True`, `MemoryPressure/DiskPressure/PIDPressure/NetworkUnavailable=False` *(live)*.
@ -67,7 +67,7 @@ Node conditions are clean on all three: `Ready=True`, `MemoryPressure/DiskPressu
| `nodeSelector: kubernetes.io/hostname: siriussec` | `forgejo`, `forgejo-runner-amd64`, `local-path-provisioner`, `piedmont-*`, `sirius-growth-*`, `siriusdevops-*`, `cilium-operator` | amd64 images; rpi is arm64, and the PVs live on siriussec's NVMe |
| `nodeSelector: kubernetes.io/hostname: rpi` | `forgejo-runner-arm64`, `forgejo-runner-deploy-arm64` | needs the Pi's Docker socket and arm64 host |
| label `dedicated=network` (on rpi and linode) | none currently — both are labellable targets for future network/light pods | intended for traffic/edge workloads |
| `node-role.kubernetes.io/gateway=true` (rpi + siriussec; not linode) | `cilium-envoy` DaemonSet | Gateway listeners follow the label |
| `node-role.kubernetes.io/gateway=true` (**siriussec only**; rpi lost it 2026-10-27, linode never had it) | `cilium-envoy` DaemonSet | Gateway listeners follow the label. Exactly one node must carry it: a gateway node that does not run the backend pods binds the ports and answers **503 after 5 s** for everything |
Several app Deployments also carry a stray `tolerations: [{key: dedicated, effect: PreferNoSchedule}]` — harmless today because no node has that taint; it is residue from when rpi was tainted.
@ -228,14 +228,14 @@ The tunnel's ingress list maps **every** public hostname to `http://10.10.0.2:80
| Origin | `Host: siriusdevops.com` | Result |
|---|---|---|
| `10.10.0.2:8080` (siriussec) | **200** (and 200 for forgejo) | ✅ production origin |
| `10.10.0.1:8080` (rpi) | **503 after exactly 5.0 s** | ✗ Envoy running, backend unreachable |
| `10.10.0.1:8080` (rpi) | no listener (000 in <1 ms) **since 2026-10-27**; before that, **503 after exactly 5.0 s** | ✗ rpi is not a gateway node any more — no Envoy, no ports |
| `10.10.0.5:8080` (linode) | no listener (000) | ✗ no envoy there |
Note that the `Gateway` **status advertises all three addresses** (`10.10.0.1`, `10.10.0.2`, `10.10.0.5`) because the listeners are hostNetwork ports on nodes carrying the gateway label pattern. **Do not treat the Gateway's `status.addresses` as a load-balanced VIP** — it is a list of places the port is bound, and only siriussec's binding can actually complete a request.
Note that the `Gateway` **status advertises all three addresses** (`10.10.0.1`, `10.10.0.2`, `10.10.0.5`) even though the label is now on siriussec alone: Cilium fills `status.addresses` with every node InternalIP and ignores `spec.addresses` (cilium#29060). **Do not treat `status.addresses` as a load-balanced VIP or a "try either IP" list** — it is not a list of bound ports either; it is just the node address set. Only `10.10.0.2` has a listener.
### 4.2 The co-location rule
Envoy runs `hostNetwork` on the gateway-labelled nodes. On rpi it *does* have a listener on `0.0.0.0:8080` (`lib cilium-envoy`), but a request for a mapped hostname **hangs 5 s and returns 503**, because the Envoy on rpi forwards to backend pods that live on siriussec's pod CIDR, sources the connection as `reserved:ingress` (`10.244.1.x`), and the SYN-ACK never completes under Cilium native routing. The measurable signature is the exact **5.000 s** and `503`.
Envoy runs `hostNetwork` on the gateway-labelled nodes. **Before 2026-10-27 rpi carried the label too**, so it had a listener on `0.0.0.0:8080` and every request for a mapped hostname **hung 5 s and returned 503** there: the Envoy on rpi forwards to backend pods that live on siriussec's pod CIDR, sources the connection as `reserved:ingress` (`10.244.1.x`), and the SYN-ACK never completes under Cilium native routing. The measurable signature is the exact **5.000 s** and `503`. Fixed by removing the label from rpi (one gateway node, one serving address); the same 5 s/503 signature was making `10.10.0.1:8081`/`:8084` flap for phone clients, and it answered the same way from rpi's own `127.0.0.1`.
Consequences:
@ -330,7 +330,7 @@ Neither hostname is in the cloudflared ingress list, and `*.lab.internal` resolv
| 11 | kube-system | `cilium-cz7w6` | siriussec | 10.10.0.2 (host-net) | Cilium agent v1.20.1 | internal |
| 12 | kube-system | `cilium-dswfb` | rpi | 10.10.0.1 (host-net) | Cilium agent v1.20.1 | internal |
| 13 | kube-system | `cilium-lst6f` | linode | 10.10.0.5 (host-net) | Cilium agent v1.20.1 | internal |
| 14 | kube-system | `cilium-envoy-kfd7w` | rpi | 10.10.0.1 (host-net) | Gateway data plane (listener present, backends unreachable — §4.2) | internal |
| 14 | kube-system | ~~`cilium-envoy-kfd7w`~~ | ~~rpi~~ | — | **gone 2026-10-27** — rpi lost `gateway=true`; a gateway node that cannot reach the backends only served 5 s/503 (§4.2) | — |
| 15 | kube-system | `cilium-envoy-q2jn8` | siriussec | 10.10.0.2 (host-net) | Gateway data plane — **the one serving public traffic** | **public** (8080) |
| 16 | kube-system | `cilium-operator-6fc68c64d6-cw4rj` | siriussec | 10.244.0.2x | Cilium operator (leader election) | internal |
| 17 | kube-system | `coredns-589f44dc88-l28hh` | siriussec | 10.244.0.109 | cluster DNS (1 of 2) | internal |