πRunbooks
Operational procedures for when things misbehave. These pages are served from Cloudflare, off the infrastructure they describe, so they stay readable during an outage.
The runbooks
Runbooks/Deploy a NixOS Host β build, deploy, verify, and roll back NixOS hosts
Runbooks/Terraform Change β Atlantis-first OpenTofu workflow and local validation
Runbooks/Kubernetes GitOps Change β inspect Flux, reconcile resources, and handle SOPS safely
Runbooks/Managed Postgres β reach a CloudNativePG database through
kubectl cnpg, and check whether it has a backupRunbooks/OpenBao Bootstrap β initialize and verify the folly OpenBao instance
Runbooks/Add Shared Kubernetes Resource β use the
clusters/base/pattern for both clustersRunbooks/Adopt Folly Monitoring CRDs β stamp Helm ownership metadata onto folly's pre-existing Prometheus Operator CRDs before wiring
monitoring-crdsRunbooks/Validate Infra Changes β validation commands by change area
Runbooks/Inspect UniFi Network β read-only UniFi discovery before making changes
Runbooks/SOPS Secrets and Age Keys β operator age key, harmonia keypairs, two-stage sops-nix recipient setup, decryption-failure triage
Runbooks/Cluster Admin Access β JIT tokens for day-to-day kubectl, the break-glass certificate, and how to withdraw access
Runbooks/Kiosk β the Raspberry Pi kiosk hosts: Cage/Wayland, Firefox, container-backed apps
Runbooks/Adopt Folly Prometheus Operator CRDs β the one-time live ownership stamp and Kustomization wiring that lets folly join
monitoring-crdsRunbooks/Install Spindrift β from nothing to an enrolled, Target-connected Spindrift installation: Terraform bootstrap, chart declaration, first-operator enrolment
Runbooks/Connect an Agent to the Wiki β point Claude Desktop or any MCP client at
wiki.lolwtf.ca/mcpso an agent can read the homelab docsRunbooks/Connect an Agent to Spindrift β mint an agent token and point an MCP client at
spindrift-control.lolwtf.dev/mcpto drive the platformRunbooks/Developer Connect GitHub OAuth β one-time browser authorization that moves the trusted-builds GitHub connection from PENDING_USER_OAUTH to COMPLETE
Conventions
Tag runbook pages
#runbook, lead with quick checks, then symptom-shaped sections ("If Xβ¦"), each with copy-pasteable commands and expected output.Prefer
mise run <task>where a task exists; it encodes the correct binary and flags. Give a raw invocation only where mise has no task β deploying to a live host,sops,flux reconcile.Commands assume the reader is on the LAN or the tailnet. Note when a host needs a special path.
A runbook that changes desired state still ships through git β see Architecture/GitOps.
Where an agent skill covers the same workflow, this page is the durable source. The skill carries a
runbook:pointer in its frontmatter and holds only agent-specific guidance; it does not restate the procedure.Do not symlink
SKILL.mdfiles intodocs/pages. Skills are agent instructions, not Logseq outline pages, and this site is public.
Sub-pages
- Runbooks/Add Shared Kubernetes Resource
- Runbooks/Adopt Folly Monitoring CRDs
- Runbooks/Adopt Folly Prometheus Operator CRDs
- Runbooks/Cluster Admin Access
- Runbooks/Connect an Agent to Spindrift
- Runbooks/Connect an Agent to the Wiki
- Runbooks/Deploy a NixOS Host
- Runbooks/Developer Connect GitHub OAuth
- Runbooks/Inspect UniFi Network
- Runbooks/Install Spindrift
- Runbooks/Kiosk
- Runbooks/Kubernetes GitOps Change
- Runbooks/Managed Postgres
- Runbooks/OpenBao Bootstrap
- Runbooks/SOPS Secrets and Age Keys
- Runbooks/Terraform Change
- Runbooks/Validate Infra Changes
Linked references 2
Seeded Architecture (all four layers plus networking, secrets, and GitOps), Fleet, and Runbooks.