IvalinLAB

Infrastructure experiments, homelab builds, and deploying things on hardware that wasn't designed for it.

Working on the homelab
Posts

Who Says Claude Code CLI Is Only for Work or Boring Stuff?

3,500 Rock Band songs on a modded Xbox 360 and a third of them invisible. The part I did not see coming: Claude Code logged into the console over FTP and rearranged 101 GB in one second, instead of the seven hours I was ready to spend.

Claude Code Xbox 360 FTP Binary Formats Rock Band Side Project

The CKA Took Me Four Sits. The Hardest Part Was Not Kubernetes.

Four sits in six weeks: a 30-minute check-in, a tiny laggy remote desktop, Starlink dropping out mid-exam, and a self-rating 18 points above the real score. What the exam really tests — and the one habit that moved the score from 58 to 68.

CKA Kubernetes Exam Prep AI Tutor Starlink Verification

Empty Logs and a Burning Core: Tracing a Silent k3s Failure Three Layers Down

A nightly backup failed for 28 days with zero log lines. The trail led to a leaked etcd goroutine inside k3s, spinning on a zero-length timer and eating a full core on both servers — found by profiling the stripped binary in production via perf, gopclntab, and the kubelet pprof proxy.

k3s etcd Go pprof perf Silent Failure Root-cause Analysis

Every Light Was Green. The Cluster Was Dead.

Every layer of the observability stack was a tenant of the thing it was supposed to observe — Grafana pinned to a control-plane pod, Uptime Kuma watching the cluster it lived in, Alertmanager paging Telegram through the cluster’s outbound network. The remediation moved the watcher onto the jumphost, swapped Telegram for Gmail SMTP, and uncovered four smaller failures along the way that all share the same shape — a sibling of the Tailscale subnet-route hijack, a phone-node CNI that fails closed on DNS, a CPUThrottlingHigh alert that was the chart talking rather than the workload, and a Grafana release that does not fit a 2011 netbook CPU.

Observability Grafana Alertmanager Cloudflare Access Tailscale k3s

The Tunnel Was Up. The Cameras Were 502.

A single cloudflared pod was enough to take every Cloudflare-fronted service down while I was away. The first fix is one Deployment edit — three replicas, a PDB, podAntiAffinity. The next day’s fixes — Tailscale’s silent route hijack, a coredns Corefile forwarding into a black hole, a Frigate pod about to eat its own node — took longer to find because they all hid behind a green dashboard.

Cloudflare Tunnel Tailscale coredns Frigate Multi-fault Diagnosis k3s

What broke during a k3s sqlite to embedded etcd HA migration

Migrating a homelab k3s cluster from single-master sqlite to embedded etcd HA on six mixed-arch nodes — three control planes and three phone agents on USB tether. The part the docs leave out is how every component remembers more about the old cluster than you expected: PVs keep stale claimRefs, CRD backups refuse to deserialize, Helm release metadata vanishes, and a silent k3s 1.35 hosts.toml bug ignores the registry mirror.

k3s etcd-ha kubernetes-migration homelab multi-arch-builds disaster-recovery

Hybrid AI on k3s: A Sleeping GPU, Local qwen2.5-coder, and Cloud Only When Asked

A homelab AI workflow where qwen2.5-coder:14b on an RTX 3060 12GB is the default driver, the GPU box is asleep until the cluster wakes it on demand via WoL + SSH, and Gemini 3.1 Pro only ever runs on explicit manual escalation. Cloud spend ~$80→~$5/mo, ~25–30 kWh/mo saved, ~85% of routine k3s work fully local.

k3s Ollama qwen2.5-coder Wake-on-LAN Local AI Platform Engineering

Frigate NVR Migration on k3s: What Breaks on Bare-Metal

Moving a stateful video pipeline off the control plane and onto a dedicated i5-6600 with a GTX 1050Ti — with the GPU device-plugin chain, tiered storage, --kube-reserved, and a VLAN held together by a router startup script. Cuts control-plane CPU from ~95% to ~50%, kills DiskPressure, drops inference from ~300ms to ~40ms.

Frigate k3s GPU Bare-Metal Storage Platform Engineering

Running Edge AI on Broken Phones: The Multi-Model Engineering Workflow

From a drawer of shattered OnePlus phones to a decentralized YOLOv8 inference cluster — with hallucinated OpenCL drivers, air-gapped networking paradoxes, and Claude + Gemini as an AI engineering department.

YOLOv8 Edge AI ONNX MQTT Multi-Model k3s

Running Frigate NVR on Kubernetes: Taming Nine Cheap IP Cameras

From a licensed Blue Iris setup to a containerized, AI-driven surveillance pipeline on k3s — with Cloudflare Tunnel for remote access, nightly rsync backups, and why upscaling bad video is never the answer.

Frigate NVR IP Cameras Face Recognition Cloudflare k3s

Running a Local AI Model on My Homelab Kubernetes Cluster

GPU-accelerated Mistral 7B via Ollama on a GTX 1050 Ti, exposed to the k3s cluster through WSL2 port forwarding, with Open WebUI providing a ChatGPT-like interface accessible from any device on the network.

Ollama Mistral WSL2 GPU Open WebUI k3s

A k3s Cluster Over USB Cables: What postmarketOS and Linux Bridges Hide

Three OnePlus phones, one Lenovo laptop, no switch. Routed /30 USB links, Flannel VXLAN, an invisible nftables forward chain, and the slow education that every layer of the stack quietly resists being made into a Kubernetes node.

k3s postmarketOS USB networking Flannel VXLAN MetalLB bare-metal

Deploying a Guitar Practice App on My Phone Kubernetes Cluster

Containerizing a React + FastAPI audio processing app and deploying it to a k3s cluster made of old smartphones. Dockerfiles, nginx reverse proxy, and MetalLB LoadBalancer.

Docker FastAPI React k3s nginx