feat: Add HA Kubernetes cluster with Terraform + Ansible
Some checks failed
Terraform / Validate (push) Failing after 17s
Terraform / Plan (push) Has been skipped
Terraform / Apply (push) Has been skipped

- 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:
2026-02-28 20:24:55 +00:00
parent 3e8eb072b5
commit 3b3084b997
27 changed files with 1324 additions and 0 deletions

18
ansible/inventory.tmpl Normal file
View File

@@ -0,0 +1,18 @@
[control_plane]
{% for ip in control_plane_ips %}
{{ ip }}
{% endfor %}
[workers]
{% for ip in worker_ips %}
{{ ip }}
{% endfor %}
[cluster:children]
control_plane
workers
[cluster:vars]
ansible_user=root
ansible_python_interpreter=/usr/bin/python3
k3s_version=latest