homek8s/infrastructure
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 953be9f3cf backup(portal): barman-cloud PITR via a Linode-side Garage WAL archive
sirius-growth/portal had a 24h-RPO pg_dump and no way to roll forward. This adds
continuous WAL archiving + a daily base backup into a second, independent Garage
node on the Linode (bucket pg-wal-archive, 10.10.0.5:3900, WireGuard-only), and
proves a restore to a point in time end to end.

- infrastructure/garage-linode/: podman+quadlet unit (the Linode is a kubelet
  node, no docker), garage.toml bound to 10.10.0.5 only, nft guard in PREROUTING
  -140, install.sh, README with the measured disk sizing, pitr-restore.md with
  the rehearsal transcript.
- apps/base/sirius-growth/cluster.yaml: spec.backup.barmanObjectStore
  (destinationPath s3://pg-wal-archive, gzip WAL+data, retentionPolicy 14d),
  credentials from Secret sirius-growth/portal-wal-s3 (out of band, not in git).
- apps/base/sirius-growth/scheduled-backup.yaml: ScheduledBackup portal-daily,
  03:20 UTC, six-field cron.
- docs/cluster-overview.md: §5.1 the WAL store, §8.1 coverage + sizing + gaps,
  §8.3 the PITR restore recipe.

forgejo/pg is deliberately left on pg_dump only (a day of git history is
annoying, not costly); portal keeps its nightly dump as the logical second copy.

Rehearsed 2026-11-19: marker row at 22:35:06Z, unwanted row at 22:35:28Z,
throwaway cluster restored to targetTime 22:35:15Z came back with the marker and
without the later row. See infrastructure/garage-linode/pitr-restore.md.
2026-11-19 17:46:27 -05:00
..
controllers/home Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00
databases/base cnpg: widen operator leader-election window + adopt the operator into Flux 2026-10-26 15:38:42 -04:00
garage infrastructure(garage): commit the config, prove WG-only, split keys, back it up, scrape it 2026-11-19 16:32:58 -05:00
garage-linode backup(portal): barman-cloud PITR via a Linode-side Garage WAL archive 2026-11-19 17:46:27 -05:00
home node-io: bound the writeback backlog so dind writeback cannot stall etcd 2026-10-26 16:35:03 -04:00
networking docs: Grafana persistence + admin-password ownership and recovery path 2026-10-27 01:04:12 -04:00
node-io node-io: document the io.max layer and the measured before/after 2026-10-26 17:42:09 -04:00
storage Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
wireguard/backup apps(backup): cover the remaining stateful gaps off-host 2026-11-19 17:14:36 -05:00