This directory contains longer-form architecture decisions and runbooks.
Use docs/ for information that is too broad or operationally sensitive to
hide inside a manifest comment:
- architecture decisions and their tradeoffs;
- procedures that operators need to follow carefully;
- migration or recovery instructions that still have an operational use;
- recovery plans;
- known limitations and future hardening work.
| Path | Purpose |
|---|---|
architecture/ |
Architecture decision records and design narratives. |
runbooks/ |
Operational procedures for recurring or high-risk tasks. |
runbooks/networking/ |
Client, LAN, VPN, and ingress-path operational procedures. |
runbooks/storage/ |
Storage, persistence, and Longhorn operational procedures. |
| Document | Purpose |
|---|---|
architecture/adr-001-jellyfin-horizontal-scaling.md |
Design decision for Jellyfin horizontal scaling work. |
architecture/unifi-enterprise-network-roadmap.md |
Dated UniFi audit, target segmentation and topology, hardware integration, security hardening, phased validation, and rollback plan. |
architecture/lan-service-resilience-incident-review.md |
Evidence-based ISP-outage learning review and Layer 2 service exposure decision. |
runbooks/README.md |
Standard format for new runbooks. |
runbooks/alertmanager-firing-alert-triage.md |
Live Alertmanager inventory, synthetic-alert interpretation, and evidence-preserving failed-Job cleanup. |
runbooks/completed-torrent-import-recovery.md |
Safe recovery for completed torrents blocked by Arr mappings, including copy-first Sonarr pack-title repair and exact-hash cleanup. |
runbooks/fleet-namespace-psa-labels.md |
Procedure for namespace ownership and Pod Security Admission label changes under Fleet. |
runbooks/kubernetes-cpu-overcommit.md |
N-1 CPU request capacity diagnosis and evidence-backed request sizing. |
runbooks/kubernetes-resource-policy.md |
Production requests, limits, generated-container defaults, validation, and Longhorn exceptions. |
runbooks/k3s-node-maintenance.md |
Sequential K3s Raspberry Pi drain, clean shutdown, and recovery with kube-vip, PDB, Longhorn, Fleet, and controller gates. |
runbooks/node-saturation-and-zombie-processes.md |
Node load, CPU, I/O, D-state, and zombie-process diagnosis with targeted recovery. |
runbooks/statefulset-ondelete-rollout-recovery.md |
Sequential Valkey OnDelete rollout and Sentinel failover procedure. |
runbooks/networking/laptop-wireguard-mtu-tls-handshake-timeouts.md |
Diagnosis and fix for laptop WireGuard MTU blackholes causing Kubernetes API and *.home TLS timeouts. |
runbooks/networking/wifiman-teleport-stuck-connection.md |
Scoped cleanup of stale WiFiman Teleport state with visible app, IPv6 health-probe, and sustained connectivity verification. |
runbooks/networking/unifi-netbox-drift-reconciliation.md |
Infrastructure-only UniFi API drift detection and reviewed NetBox MCP reconciliation; Network client data is excluded. |
runbooks/storage/anime-library-relocation-and-shoko-recovery.md |
Safe anime library relocation and Shoko unrecognized-file recovery. |
runbooks/storage/ryokan-batch-import-corruption-recovery.md |
Break-glass quarantine, download, manual import, and end-to-end verification for corrupt Ryokan batches. |
runbooks/storage/longhorn-disk-available-space-alerts.md |
Diagnosis and mitigation for Longhorn disk schedulable space warning and critical alerts. |
runbooks/storage/nfs-csi-volume-ownership-storms.md |
Root-squashed NFS fsGroup recursion, blocked mounts, and I/O-wait recovery. |
runbooks/storage/raspberry-pi-high-iowait.md |
Raspberry Pi I/O-wait diagnosis across NFS, Longhorn, PostgreSQL, and physical NVMe. |
Prefer app-local READMEs when the documentation only applies to one bundle.
Use docs/ when the procedure crosses project boundaries, changes operational
policy, or records a decision that future operators need to understand.
READMEs describe the current setup, dependencies, configuration, and validation. Keep rationale only while its constraint still applies. Link to the owning app or source repository instead of repeating configuration tables and feature lists. Completed rollout reports, measurements, retired services, and rejected experiments normally belong in Git history. Remove completed one-off runbooks and request manifests. Document any remaining recovery-data contract in the owning app README. Past maintenance approval is not standing authority.
Treat the owning manifests, inventory and build-policy files as the source for versions, replicas and resource settings. Prefer links to those files over duplicated pins that automation can change. Keep CI run reports, successful rollout counts, dated performance samples and one-time recovery totals out of READMEs; retain only the constraints and reusable operating steps they establish.