- Login
ghcr.ioin Docker - Navigate:
cd burner-backend - Substitute your username in
IMAGE_NAMEinside the script - Run
./publish-image.sh - Make the image public in GitHub (just the first time)
Create a new Hetzner project and find the API key.
- Install
Packer - Navigate to directory:
cd snapshot-builder - Create a
prod.hclfile containing the project's Hetzner token (hcloud_token = xxxxx) - Build:
packer build -var-file=prod.hcl k8s-base.pkr.hcl
- Install
terraform - Navigate to directory:
cd terraform - Run
terraform init - Create a
prod.tfvarsfile containinghcloud_tokenanddomain - Run
terraform apply -var-file=prod.tfvars
- Install
talosctl - Navigate to the Talos directory:
cd talos - Set
ENDPOINTtok8s.<your-domain> - Run the bootstrap script:
./bootstrap.sh- Note: This script will most likely fail; if it does, try again running each command manually
- Navigate to directory:
cd k8s - Deploy system resources (Cloud Control Manager, horizontal autoscaler, dashboard, etc.):
./deploy-system.sh - Deploy applications:
./deploy-apps.sh