homek8s/infrastructure
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters fef71a280a infra(logging): ship kube-apiserver audit log with secret bodies stripped
t_104f62a6 made the apiserver audit log live on siriussec:
/var/log/kubernetes/audit/audit.log, mode 600 root, ~2.2 GB/day, rotated by the
apiserver itself (100 MB x 48, compressed). A pod-log collector never sees a
host file, so Alloy gets a read-only hostPath mount for that directory.

The file MUST NOT be shipped verbatim: at level=RequestResponse every
'get secrets' record carries responseObject.data — the plaintext secret.
The shipper therefore parses each record and re-emits a packed allowlist
(level, stage, verb, user, objectRef.*, responseStatus.code, sourceIPs[0],
userAgent, auditID, requestURI, requestReceivedTimestamp). requestObject and
responseObject never reach Loki; unparseable lines are dropped by stage.json
rather than passed through.

Nothing in that directory is written or pruned by the collector: the
apiserver's own 4.8 GB / 7-day rotation stays the only thing pruning it.
2026-11-27 00:49:07 -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): ship kube-apiserver audit log with secret bodies stripped 2026-11-27 00:49:07 -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