Ephemeral Castle Repository Map
Scope
This page maps the internal structure of ephemeral-castle/.
Current Synthesis
ephemeral-castle/ is split into a small number of operational zones: the active Proxmox/Talos cluster bootstrap path, the Tailscale control-plane path, the Hetzner runtime track, and a thin layer of reusable templates and notes.
Top-Level Layout
clusters/- cluster-specific infrastructure treestailscale/- tailnet policy and bootstrap automationruntimes/- runtime-oriented stacks that are not the active cluster bootstrap pathtemplates/- copy-and-adapt blueprints for new clusters or GitOps reposdocs/- repository-level documentation- root helper scripts - operational cleanup and rescue utilities
Active Cluster Subtree
clusters/tazlab-k8s/proxmox/
create.sh- one-shot rebirth orchestratordestroy.sh- cloud and local teardownnuclear-wipe.sh/nuclear-wipe.py- Proxmox VM purge helperscheck-blog.sh- final HTTPS/blog verificationprecision-test.sh- wipe/create wrapper with timing logstress-test.sh- repeated destroy/create loop with per-cycle logsconfigs/- generatedkubeconfigandtalosconfig
clusters/tazlab-k8s/live/
env.hcl- source of truth for cluster variablesterragrunt.hcl- shared backend/provider generationsecrets/- Infisical-backed secret fetch layerplatform/- Proxmox + Talos VM and machine configurationengine/- ESO +ClusterSecretStore+ Flux token bridgenetworking/- MetalLB bootstrap and address pool configgitops/- Flux bootstrap andcluster-varsstorage/- Longhorn bootstrap and S3 backup secretstates/- generated Terraform state files
clusters/tazlab-k8s/modules/
secrets-fetcher/- reads Infisical and generatesTALOS_SECRETBOX_KEYif missingproxmox-talos/- creates VMs, applies Talos config, bootstraps the clusterk8s-engine/- installs ESO and creates thetazlab-secretsstorek8s-networking/- installs MetalLB and configures IP allocation and L2 advertisementk8s-storage/- installs Longhorn and the S3 backup secretk8s-flux/- createscluster-varsand bootstraps Flux
Runtime Track
runtimes/lushycorp-vault/hetzner/is the target runtime workspace for the LushyCorp Vault track.- In the current worktree, the live code focus remains the Proxmox/Talos cluster path and Tailscale foundation.
Operational Helpers
final-cleanup.sh- brute-force local cleanup and import-based VM destructionrescue-orphans.sh- import-and-destroy orphan recovery flow
Relationships
- ephemeral-castle
- Ephemeral Castle Cluster Bootstrap
- Ephemeral Castle Proxmox Talos Foundation
- Ephemeral Castle Tailscale Foundation
Source Basis
AGENTS.ctx/ephemeral-castle/CONTEXT.mdclusters/tazlab-k8s/BOOTSTRAP.mdclusters/tazlab-k8s/live/env.hcl