chore(metrics): remove the temporary seed-from-backup initContainer #49

Merged
binjovi-bot merged 1 commit from chore/drop-seed-initcontainer into trunk 2026-09-04 07:51:34 +00:00
Owner

Added on 2026-09-03 to reseed a VictoriaMetrics replica whose volume had been recreated on hcloud-volumes. Its own comment said TEMPORARY — remove once both replicas are on hcloud-volumes and populated.

Both conditions now hold:

Replica Class 1d ago 13d ago
victoriametrics-0 hcloud-volumes 100 series 100 series
victoriametrics-1 hcloud-volumes 100 series 100 series

Each holds the full 14-day window independently again.

Why not just leave it

It would make replica 0's object-storage backup a silent single point of truth. The container names victoriametrics-0 as SEED_SRC by literal, so any future empty replica would quietly restore from that one backup instead of failing loudly and letting a human decide. That is the wrong default for a recovery path.

What stays

The vmbackup sidecar, which is the actual durability story: s3://seanfarm/vm-backups/${POD_NAME} every six hours. vmrestore was measured at 94 and 97 seconds for 19 GB during the migration, roughly 180x faster than the vmctl vm-native copy it replaced. Reseeding remains a one-command manual operation, which is the right shape for a deliberate decision.

bash tests/check.sh exits 0. The StatefulSet renders with no initContainers, both containers intact, and the claim template still on hcloud-volumes.

https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H

Added on 2026-09-03 to reseed a VictoriaMetrics replica whose volume had been recreated on `hcloud-volumes`. Its own comment said **TEMPORARY — remove once both replicas are on hcloud-volumes and populated.** Both conditions now hold: | Replica | Class | 1d ago | 13d ago | | --- | --- | --- | --- | | `victoriametrics-0` | hcloud-volumes | 100 series | 100 series | | `victoriametrics-1` | hcloud-volumes | 100 series | 100 series | Each holds the full 14-day window independently again. ## Why not just leave it It would make replica 0's object-storage backup a **silent single point of truth**. The container names `victoriametrics-0` as `SEED_SRC` by literal, so any future empty replica would quietly restore from that one backup instead of failing loudly and letting a human decide. That is the wrong default for a recovery path. ## What stays The `vmbackup` sidecar, which is the actual durability story: `s3://seanfarm/vm-backups/${POD_NAME}` every six hours. `vmrestore` was measured at 94 and 97 seconds for 19 GB during the migration, roughly 180x faster than the `vmctl vm-native` copy it replaced. Reseeding remains a one-command manual operation, which is the right shape for a deliberate decision. `bash tests/check.sh` exits 0. The StatefulSet renders with no initContainers, both containers intact, and the claim template still on `hcloud-volumes`. https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H
chore(metrics): remove the temporary seed-from-backup initContainer
All checks were successful
binjovi/ci Binjovi completed the frozen plan
afced32c88
It was added on 2026-09-03 to reseed a VictoriaMetrics replica whose volume
had been recreated on hcloud-volumes, and its own comment said TEMPORARY:
"Remove once both replicas are on hcloud-volumes and populated."

Both conditions now hold. data-victoriametrics-0 and -1 are both on
hcloud-volumes, and both answer a query at 13 days with 100 series, so each
holds the full 14-day retention window independently again.

Leaving it would make replica 0's object-storage backup a silent single
point of truth: the container names victoriametrics-0 as SEED_SRC by
literal, so any future empty replica would restore from that one backup
rather than fail loudly and let a human choose.

The vmbackup sidecar stays. It is the actual durability story, writing to
s3://seanfarm/vm-backups/${POD_NAME} every six hours, and vmrestore was
measured at 94 and 97 seconds for 19 GB. Reseeding remains a one-command
manual operation, which is the right shape for something that should be a
deliberate decision.

Claude-Session: https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/olly!49
No description provided.