Homelab notebook
Dated notes from building my homelab K3s platform and testing local models, written on the day of the work.
These posts come from my lab notebooks for the homelab I started building in September and October 2026. The goal is a small platform I actually use: two single-node K3s clusters — one on a closed-lid ThinkPad X1 and one on a ten-year-old Dell Precision running Proxmox — alongside a DGX Spark and Mac minis for local models, with Gitea, Argo CD, Infisical, Kaneo, Hindsight, LiteLLM, and backups I actually restore-test.
Each post is dated by the day of the work. It says what I was trying to do, what happened, the actual error or number, and what I planned next. It uses only what I knew that day. If a guess turned out wrong, a later post says so — I don’t go back and rewrite the earlier one.
The recipes are separate: I write a recipe only after the fix is proven, and it links back to the posts it came from.
An AI agent did most of the hands-on work in the terminal. I directed it, made the decisions, and checked the results. When a post says “we”, that’s the agent and me.
I write these to learn. Writing it down shows me where I am, where I want to go, and what to do next. If you see a mistake, or know a better way, please tell me.
Current topology
Section titled “Current topology”All posts (newest first)
Section titled “All posts (newest first)”- Testing Inkling 2 Mini against Qwen dense on my homelab
I compared Inkling 2 Mini on a Mac mini with a dense Qwen model on the DGX Spark, then removed an abliterated build after it cost speed and memory.
- Splitting the Macs into a desktop and a headless model server
I decided to turn the older Mac mini into a desktop and the newer one into a headless model server, though the cleanup is still underway.
- Auditing the homelab with a pod and Prometheus instead of cron
Six checks published as metrics; overall_pass=1.
- Checking that the collector strips prompt text
Test prompt strings sent through the collector did not reach Phoenix.
- Deploying to the Dell's cluster from Argo CD on x1
Registered a second cluster and added a root app-of-apps.
- Hindsight recall went from 31.6 seconds to 2.4 seconds
The reranker had too many threads for its CPU limit.
- Merging homelab-x1 into virtus-platform
One repository, and Argo CD now points at it.
- Moving LiteLLM and its database to K3s
Keys, routes and spend logs restored intact.
- Moving the main Infisical instance from mini-m2 to x1
The Secrets Operator now delivers secrets on both clusters.
- Shutting down mini-m2
Its services had moved to K3s. The containers are stopped and their volumes kept.
- Fixing the Dell's network hangs with ethtool and a BIOS update
The kernel log showed the e1000e hang. With offloads off and BIOS A34, the network held up.
- Gitea's migration allowlist also blocked push mirrors to GitHub
One setting covers both imports and outbound mirrors.
- Reviewing phases 1 to 3
Gaps found: per-pod hostAliases, no network-card audit, no SSH keys in Gitea, and backups missing the file volumes.
- Running CI in a runner pod that can't reach the cluster API
A NetworkPolicy and no service-account token. Runs #2, #3 and #11 ran on it.
- Three CoreDNS ordering problems with home.arpa names
Only one hosts block is allowed, musl lookups failed with SERVFAIL, and the template plugin runs before hosts.
- A runner token leaked through a command line
I revoked it in the database right away and issued a new one.
- Restoring a live VM backup with its network disabled
VM 999 booted from the backup with its network link down, so it couldn't clash with the live VM.
- SSH refused connections right after the VM's first boot
Cloud-init's package upgrade was restarting openssh.
- The Dell dropped off the network during an image pull
The host and its VM both disappeared. The working guess is the Intel e1000e hang.
- Gitea crash-looped during a rolling update
Its LevelDB queue lock allows one pod at a time. Fixed with the Recreate strategy.
- Infisical rejected its own bootstrap token
The token was issued with no expiry. Traced to the container source; worked around with Universal Auth.
- Moving 14 repositories from Forgejo to Gitea
Took 11 seconds with issues and PRs. Host allowlists and repos with issues turned off got in the way.
- The Dell's CPU was different from what the plan said
It's a 12-core E5-2650 v4, not an E5-2680 v3, so I sized the VM against the real hardware.
- A terminal line wrap split a chmod command
The pasted command broke at chmod 600, and the key was still added.
- An agent shell hung on macOS Downloads and Documents
find ~ blocked on macOS privacy prompts that a headless shell can't answer.
- Argo CD redirect loop behind Traefik
Setting server.insecure ended the loop. hello and kaneo synced.
- Checking the homelab plan against the repository before building
The plan said there was no Kaneo in the repo. There was a full Kaneo stack, and it needed Valkey.
- Dropping single sign-on and full Kubernetes from the plan
Choosing K3s and each service's own login took TLS and OIDC out of Phase 1.
- Kaneo pods could not resolve the Silo hostname
Pods don't read the workstation's /etc/hosts, so I added hostAliases to the Kaneo pod.
- Leaving most of the x1 disk unallocated
The installer gave the root volume 100 GB. I kept it that way and left 374 GB free for lab clusters.
- Restoring a deleted ConfigMap from a NAS backup of the K3s datastore
I deleted a test ConfigMap and recovered it from the Restic snapshot on the NAS.
- Sending K3s backups to the NAS instead of the same disk
A local backup would die with the NVMe drive, so the backups go straight to the NAS over SMB.
- Test-restoring each Postgres dump into a scratch database
The Infisical, Gitea and Kaneo dumps restored with 752, 116 and 45 tables.
- The Silo init job failed because the image has no wget
The minimal image has curl. Switching the job to curl fixed it in 3 seconds.
- Three problems installing Infisical with its Helm chart
A template that doesn't exist, a bundled nginx ingress, plaintext connection strings, and Helm v4 rejecting duplicate env keys.
- Building a management cluster on a closed-lid laptop
I turned a ThinkPad X1 Yoga into a lid-closed single-node K3s management server, including two mistakes and one false alarm.
- Installing Proxmox on a ten-year-old Dell Precision
Getting Proxmox running on a used Dell Precision took a powered switch, the right subnet, and the free repositories.
- Why I chose K3s for declarative configuration, not scale
I chose K3s so the lab would live in one set of version-controlled files, not because I needed multi-node scale.
- Giving each machine one role
I stopped asking what spare machines could run and gave each one a single declared job.