Datacenter is a reproducible local infrastructure lab: it provisions a 3-node k3s cluster across two Proxmox hosts, bootstraps the nodes from a workstation, and hands cluster state to Argo CD-managed GitOps. It is the foundation for a later operations dashboard and failure-drill environment described in the design docs.
This repo includes:
- Terraform for Proxmox VM provisioning
- Ansible for node bootstrap and
k3s - Argo CD bootstrap and root app manifests
- bootstrap scripts, tests, and runbooks
cp bootstrap/config/datacenter.example.env bootstrap/config/datacenter.env
make bootstrap-validate
make cluster-up
make cluster-verifyIf you use direnv, this repo can auto-export KUBECONFIG from bootstrap/config/datacenter.env when you cd into the repo.
brew install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
direnv allow
kubectl get nodes- prepared
pve-1andpve-2Proxmox hosts - Ubuntu cloud-init template on both hosts
- Terraform, Ansible,
kubectl, SSH,scp - optional:
direnvfor auto-loading repo env vars
bootstrap/infra/proxmox/platform/gitops/clusters/datacenter/docs/tests/
docs/plans/2026-03-28-datacenter-dashboard-plan-index.mddocs/plans/2026-03-28-cluster-bootstrap-and-gitops-foundation.mddocs/plans/2026-03-28-platform-services.mddocs/plans/2026-03-28-dashboard-application.mddocs/runbooks/cluster-bootstrap.mddocs/runbooks/platform-services.mddocs/runbooks/local-access.mddocs/specs/2026-03-28-datacenter-dashboard-design.mddocs/proxmox/hardware-overview.mddocs/proxmox/network-configuration.md