Lab Notes
Chronological notes from my homelab, local model evaluations, and fundamentals study logs (Raschka LLM books and CUDA).
Dated engineering logs written on the day of the work — homelab operations (homelab),
local model evaluations (evals), and patient fundamentals study (study). I don’t go
back and rewrite earlier guesses; when a fix holds up, I distill it into a short
recipe, and when an experiment turns into runnable code or notebooks, it
lives in Solutions.
- 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.
- From attention to KV cache to serving: a HungerSync learning path
Connect Transformer attention, KV caching, and inference serving through a HungerSync case, without treating Ollama to vLLM as a mandatory upgrade.
- Giving each machine one role
I stopped asking what spare machines could run and gave each one a single declared job.