Commit graph

120 commits

Author SHA1 Message Date
Sirius DevOps
3eadc3acda
feat: add Cilium HelmRelease to Flux-managed infrastructure
Wires ../networking/cilium (HelmRelease + HelmRepository + values
ConfigMap) into the infrastructure kustomization so Flux deploys
Cilium 1.19.7 and upgrades the crashing 1.18.13 operator.
2026-09-15 00:23:47 -04:00
Sirius DevOps
6a35d81fe9
feat: add infrastructure Kustomization for Flux to watch infrastructure/home 2026-09-15 00:21:29 -04:00
Sirius DevOps
9b93278760
feat: internal-only Cilium Gateway on WG overlay for private services
Add a second Gateway listening on port 8081, namespace-scoped to
`internal`. Only HTTPRoutes in the `internal` namespace can attach,
so grafana and other private services are not reachable from public
HTTPRoutes.

The listener is on the WG overlay (siriussec 10.10.0.2 + linode
10.10.0.5, both `gateway=true`). No public IP, no LAN route — only
peers on 10.10.0.0/24 can reach it.

Also wires the new `internal` gateway into Flux via
infrastructure/home/kustomization.yaml.
2026-09-15 00:18:58 -04:00
a2b9256d97 Merge pull request 'fix: upgrade Cilium to 1.19.7 to resolve operator CrashLoopBackOff' (#1) from fix/cilium-operator-crash into master
Reviewed-on: #1
2026-09-15 04:08:04 +00:00
Sirius DevOps
9209ea54a7
fix: upgrade Cilium to 1.19.7 to resolve operator CrashLoopBackOff
Cilium operator 1.18.13 crashes on startup with:
  no matches for kind TLSRoute in version gateway.networking.k8s.io/v1alpha2

The TLSRoute CRD on the cluster only has v1 (no v1alpha2). Cilium 1.19+
fixes the gateway API field indexer to work with the v1/v1alpha3 TLSRoute
layout. Fixes the 3-day operator outage.
2026-09-15 00:08:05 -04:00
Sirius DevOps
c03c23bc4c
cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
Flux
75a0e56606 Add Flux sync manifests 2026-09-14 23:43:41 -04:00
Flux
0a075709d1 Add Flux v2.9.5 component manifests 2026-09-14 23:43:38 -04:00
Sirius DevOps
4b0303a58d forgejo arm64 runner: capacity 1
ci.yml builds every test job's Rust target into one shared named volume
(onionwire-target-ci at /target). Two jobs writing it concurrently clobber each
other's freshly-linked binaries, which then fail with 'could not execute
process ... (never executed) Permission denied (os error 13)'. Forgejo's
concurrency.group did not serialize two same-group runs (446+447 overlapped),
so capacity 1 is the enforced serializer. Cleared the corrupted volume.
2026-09-12 01:48:10 -04:00
Sirius DevOps
a3a2c600d6 forgejo amd64 runner: capacity 1 and dockerd --mtu=1420
Two concurrent x86_64 builds on the dind daemon made the second one's egress
fail (apt looping on Ign: for Debian InRelease) while a single build on the
same daemon succeeded. Serialize the amd64 runner, and match the docker bridge
MTU to the pod's 1420 so containers stop assuming a 1500-byte path.
2026-09-12 01:25:51 -04:00
Sirius DevOps
62392be60a forgejo arm64 runner: drop container.docker_host
Setting docker_host makes the runner bind the docker socket into the job
container itself, colliding with the explicit
-v /var/run/docker.sock:/var/run/docker.sock in container.options, so every
job died at create with 'Duplicate mount point: /var/run/docker.sock'.
Restores the config the Pi compose runner ran green for months.
2026-09-11 23:05:36 -04:00
Sirius DevOps
42509aacd9
amd64 runner: unix-socket dind only, no TCP 2375. 2026-09-11 22:37:09 -04:00
Sirius DevOps
9a3ed8311f
Bind T480 dind API to localhost only. 2026-09-11 22:34:49 -04:00
Sirius DevOps
455c85b01c
Split Forgejo runners: arm64 on rpi, amd64 dind on siriussec.
Pi keeps host Docker and labels docker-arm64/arm64/docker.
T480 runs privileged docker:dind; jobs use docker-amd64/amd64.
2026-09-11 22:34:33 -04:00
Sirius DevOps
8783d77d5e
Give the k8s Forgejo runner docker.sock access as root+docker gid. 2026-09-11 22:25:44 -04:00
Sirius DevOps
5e1a2b4f8d
Run Forgejo Actions runner as a cluster Deployment on rpi.
Reuses the existing pi-runner registration and host Docker socket.
Compose runner is stopped so it cannot double-poll.
2026-09-11 22:24:41 -04:00
Sirius DevOps
20f967ffa3
Switch Cilium to native routing over WireGuard.
Pod CIDRs ride the existing hub-and-spoke mesh (no VXLAN).
Envoy cross-node handshake is still identity-8; Gateway stays on siriussec.
2026-09-11 21:54:13 -04:00
Sirius DevOps
cbe0575453
Pin Cilium Gateway hostNetwork to siriussec.
Cilium Envoy cannot reach overlay backends on another node
(503 cx_connect_fail). Same-node listener next to workloads works;
cloudflared origins point at the T480 LAN:8080.
2026-09-11 00:37:41 -04:00
Sirius DevOps
0ee4062413
Add Forgejo app and CNPG cluster (1 replica).
Operator is installed on-cluster; DB restored from Pi dump; repo data
rsynced onto local-path PVC. HTTPRoute kept for Gateway; public origin
is NodePort until Cilium hostNetwork Envoy can reach overlay backends.
2026-09-11 00:08:31 -04:00
Sirius DevOps
f9189482e7
Initial HomeK8s tree matching lab GitOps layout.
Storage and Gateway apply with kubectl -k until Forgejo+Flux.
2026-09-10 23:38:04 -04:00