homek8s/infrastructure
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 179257d8fb infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4)
No log store existed: pod logs were kubelet files on the node and died with the
pod (~8h deepest history for a busy workload). Adds:

- Loki 3.7.1 single-binary (1 Deployment + 8Gi local-path PVC on siriussec),
  retention_period 192h with the compactor deleting on filesystem, ingest rate
  limits, so the store is time- and rate-bounded.
- Alloy 1.13.0 DaemonSet (all nodes, no RBAC, no API access) shipping
  /var/log/pods, /var/log/journal and the Pi's docker json logs. File sources
  read from byte 0 and stamp the timestamp from the line, so the history the
  nodes already held (18d cilium on linode, 31d registry on rpi) landed on day
  one instead of starting the 7-day clock at deploy time.
- Grafana datasource (uid loki) via the existing sidecar, ServiceMonitor,
  ingest-rate guard rule.
- docs/logging.md with the measured bytes/day, the 8-day projection and the
  runbook.

Measured: ~360-502 MB/day raw -> ~90 MB/day compressed, 192h -> <=0.8GiB, on a
node with 103GiB free (house floor 32GiB). Verified 7-day-old lines return for
kube-system cilium-agent and for the siriussec/linode journals, and survive a
Loki pod restart (PVC).
2026-11-27 00:36:56 -05:00
..
controllers controllers(cert-manager): install cert-manager 1.21.3 for the CNPG-I barman plugin 2026-11-19 17:55:49 -05:00
databases/base db(portal): migrate WAL archiving to the CNPG-I Barman Cloud plugin 2026-11-19 17:58:12 -05: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 docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed 2026-11-19 18:09:23 -05:00
home node-io: bound the writeback backlog so dind writeback cannot stall etcd 2026-10-26 16:35:03 -04:00
logging infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
networking apps(customer1): anonymize client name — farrisilk -> customer1 2026-11-24 01:46:25 -05:00
node-io node-io: document the io.max layer and the measured before/after 2026-10-26 17:42:09 -04:00
storage storage: add linode-local StorageClass + provisioner (local-path-linode) 2026-11-21 16:24:09 -05:00
wireguard/backup apps(backup): cover the remaining stateful gaps off-host 2026-11-19 17:14:36 -05:00