- Create a robust Kubernetes cluster deployed to multiple zones
- Fast and easy to use
- Available as module
There are existing Kubernetes projects with Terraform on Hetzner Cloud, but they often seem to have a large overhead of code. This project focuses on creating an integrated Kubernetes experience for Hetzner Cloud with high availability and resilience while keeping a small code base.
There are no special prerequirements in order to take advantage of this module. Only things required are:
- a Hetzner Cloud account
- access to Terraform
- (Optional) If you want any DNS related configurations you need a doamin setup with cloudflare and a corresponding API key
terraform init
terraform apply
Refer to the module registry documentation here.
Change the Terraform variable to the desired configuration, then go to the Hetzner Cloud UI and remove one master at a time and apply the configuration after each. To ensure minimal downtime while you upgrade the cluster consider draining the node you plan to replace/upgrade.
Note: For upgrading your cluster version please review any breaking changes on the official rke2 repository.