Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/docs/4-implementation/k8s
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia fe6221138c grafana pod: open the database the earlier container left
The pod's volume is the earlier container's data directory, and the NixOS
grafana module keeps its database at `<dataDir>/data/grafana.db`. The pod set
`paths.data` to the directory itself, so it opened a new, empty
`grafana.db` beside the carried one, and the secret-key guard read that new
file. Datasources with secrets, API tokens, hand-made dashboards, users and
teams of a switched host were orphaned.

`paths.data` and the guard's database path are now `<dataDir>/data`. The VM
test's earlier Grafana keeps its database in the NixOS layout, and the test
asserts the carried file is the only `grafana.db` in the volume.

Closes #6979
2026-11-28 15:45:38 +01:00
..
images.md bind health listeners to the pod's loopback and probe them by exec 2026-11-28 09:59:25 +01:00
manifests.md run grafana as a pod in the cluster 2026-11-28 10:01:39 +01:00
node.md run grafana as a pod in the cluster 2026-11-28 10:01:39 +01:00
runtime.md grafana pod: open the database the earlier container left 2026-11-28 15:45:38 +01:00
telemetry.md run the metrics store and its auth responders as pods 2026-11-28 09:59:25 +01:00