These scripts create or destroy an Kubernetes Cluster on Hetzner. For that, the following Github Actions can be used:
There is the possibility to create clusters for different terraform workspaces / environments. It is recommanded to use the following:
- dev (default in github action)
- int
- prod
The Installation is done by using kubeadm. See https://kubernetes.io/docs/setup/production-environment/ for detailed information.
Due to missing possibilities to save terraform state on cloud, it is saved inside a private repository.
Updating the Cluster is not yet implemented via GitHub and has to be done by following the manual under:
Additionally, you should check and upgrade helm if needed:
apt upgrade helm