Will Anderson 5334881d3f infra: add Headscale — self-hosted Tailscale control plane
- headscale.tf: namespace + 1Gi PVC for SQLite state
- apps/headscale.yaml: Deployment (headscale/headscale:0.23) + Service + ConfigMap
  - server_url: https://headscale.neuralplatform.ai
  - sqlite3 backend, DERP via Tailscale's map
  - MagicDNS base: vpn.neuralplatform.ai
- Cloudflare tunnel: headscale.neuralplatform.ai → headscale.headscale.svc:8080
- DNS CNAME added via API

Next: install tailscaled on Legion host, enroll as subnet router
2026-03-25 07:59:46 -05:00

infrastructure

Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.

Doc What it covers
AGENTS.md Full reference: machines, secrets, services, domains, namespaces, common operations
servers/legion/README.md What's running on Legion and how deployment works
servers/legion/RUNBOOK.md Disaster recovery — full restore from scratch

Quick start

cd servers/legion
direnv allow
terraform plan
terraform apply

Push to servers/ to deploy app changes via Argo CD.

S
Description
No description provided
Readme
1.4 MiB
Languages
HCL 78.4%
Shell 17.5%
Python 2.6%
Dockerfile 1.5%