Kubeadm cluster on bare metal and one cloud node. Flux CD, Cilium, Gateway API. Manifests for the public sites live here.
  • Python 60.8%
  • Shell 35.3%
  • Dockerfile 3.5%
  • Makefile 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters e572f84b0b monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules
kubelet_volume_stats_* was an ALPHA metric set served from kubelet's
/metrics/volumes endpoint; that endpoint returns 404 on every node of this
cluster (kubelet v1.36.4 — upstream loss in 1.34, kubernetes#133847), and
/metrics carries no volume-stats series. RunnerDindPvcHighWatermark and
RunnerDindPvcCritical therefore could never fire while showing as healthy.

Per-PVC bytes are not measurable here and no scrape config can change that,
so the pair is replaced by RunnerDindDiskHighWatermark (80%) and
RunnerDindDiskCritical (90%): root-filesystem usage on nodes that actually
run a forgejo-runner pod, which is the filesystem holding the dind data-root
under /opt/local-path-provisioner. New arm64 dind PVCs are covered as soon
as their runner is scheduled; nodes without runners (linode) do not
duplicate the generic disk-capacity group.

Also corrects the cause in docs, the dashboard notes and the prune CronJob
comment (it is not a hostPath quirk, the endpoint is gone).
2026-10-27 02:07:07 -04:00
apps monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules 2026-10-27 02:07:07 -04:00
clusters docs: internal WireGuard-only service pattern (mechanism, firewall, add-next-service, negative tests + verification log) 2026-10-27 00:17:45 -04:00
docs monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules 2026-10-27 02:07:07 -04:00
infographic/home-k8s-mesh cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
infrastructure docs: Grafana persistence + admin-password ownership and recovery path 2026-10-27 01:04:12 -04:00
monitoring/controllers/home monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules 2026-10-27 02:07:07 -04:00
.gitignore Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00
Makefile Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00
README.md Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00

HomeK8s

Home Kubernetes cluster (kubeadm), same GitOps layout as lab/.

Flux CD will take over once Forgejo is back. Until then apply with kustomize:

kubectl apply -k infrastructure/home

Cluster

Node WG IP Roles Notes
siriussec 10.10.0.2 control-plane, worker default scheduling
rpi 10.10.0.1 traffic, worker dedicated=network:PreferNoSchedule
  • CNI: Cilium 1.18.13, kube-proxy replacement, Gateway API hostNetwork on dedicated=network
  • Overlay: WireGuard 10.10.0.0/24 (API only on WG)
  • Ingress: Cloudflare tunnel → 127.0.0.1:8080 on rpi → Gateway gateway-system/public
  • Storage: local-path on siriussec (/opt/local-path-provisioner)

Pin traffic / light workloads to the Pi:

nodeSelector:
  dedicated: network

Layout

homek8s/
├── apps/
│   ├── base/                 # app definitions
│   └── home/                 # overlay applied to this cluster
├── clusters/
│   └── home/                 # Flux Kustomizations (bootstrap later)
│       ├── flux-system/      # flux bootstrap (after Forgejo)
│       ├── apps.yaml
│       ├── infrastructure.yaml
│       └── monitoring.yaml
├── infrastructure/
│   ├── home/                 # kubectl apply -k target (no HelmRelease)
│   ├── networking/
│   │   ├── cilium/           # HelmRelease for Flux
│   │   └── gateway/          # Cilium Gateway API
│   ├── storage/              # local-path provisioner
│   ├── controllers/
│   └── databases/
└── monitoring/

Apply (now)

kubectl apply -k infrastructure/home

That installs storage + the public Gateway. Cilium is already running; its HelmRelease is only for Flux.

Flux (later)

When Forgejo is up:

flux bootstrap git \
  --url=ssh://[email protected]:222/sirius/homek8s.git \
  --branch=master \
  --path=clusters/home

clusters/home/*.yaml already point at ./apps/home, ./infrastructure/home, and ./monitoring/controllers/home.