chore: move loki, tempo and victoriametrics to hcloud-volumes #41
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/hcloud-volumes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of emptying Mayastor so its 25.5 cores and 14.8 GiB come back to the fleet. This is the last of the workload repos; only Forgejo remains after it.
A
volumeClaimTemplateis immutable, so each StatefulSet has to be deleted with--cascade=orphanand rebuilt by Argo CD before its claim can be replaced. Loki and Tempo therefore also movewhenDeletedfromDeletetoRetain: withDeletethe claim carries an ownerReference and a plain delete would take it with the StatefulSet.Loki keeps its chunks in
platform-loki-chunksand Tempo its traces inplatform-tempo-traces, so a fresh volume costs only unflushed recent data.VictoriaMetrics is the one with something to lose. Each replica holds its own 14 days, vmagent dual-writes by pod DNS name, and vmsingle has no peer repair, so a replaced replica starts empty and only fills forward. The plan is to swap one replica, copy the window across with
vmctl vm-native, verify a 13-day-old sample, then swap the other. Both replicas hold the same window today, so either can seed the other. Doing them one at a time is what keeps a complete copy in existence throughout.The repl1 reasoning on VictoriaMetrics is kept rather than discarded: redundancy lives in the application, so storage-level replication only duplicates it.
hcloud-volumesis a single network-attached copy, the same shape as repl1, and it follows its pod across nodes.bash tests/check.shpasses.https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H