feat: Add HA Kubernetes cluster with Terraform + Ansible
- 3x CX23 control plane nodes (HA) - 4x CX33 worker nodes - k3s with embedded etcd - Hetzner CCM for load balancers - Gitea CI/CD workflows - Backblaze B2 for Terraform state
This commit is contained in:
23
terraform.tfvars.example
Normal file
23
terraform.tfvars.example
Normal file
@@ -0,0 +1,23 @@
|
||||
hcloud_token = "your-hetzner-cloud-api-token-here"
|
||||
|
||||
ssh_public_key = "~/.ssh/hetzner_k8s.pub"
|
||||
ssh_private_key = "~/.ssh/hetzner_k8s"
|
||||
|
||||
s3_access_key = "your-backblaze-key-id"
|
||||
s3_secret_key = "your-backblaze-application-key"
|
||||
s3_endpoint = "https://s3.eu-central-003.backblazeb2.com"
|
||||
s3_bucket = "k8s-terraform-state"
|
||||
|
||||
cluster_name = "k8s-prod"
|
||||
|
||||
control_plane_count = 3
|
||||
control_plane_type = "cx23"
|
||||
|
||||
worker_count = 4
|
||||
worker_type = "cx33"
|
||||
|
||||
location = "fsn1"
|
||||
|
||||
allowed_ssh_ips = ["0.0.0.0/0"]
|
||||
|
||||
allowed_api_ips = ["0.0.0.0/0"]
|
||||
Reference in New Issue
Block a user