# mysticaltech/terraform-hcloud-kube-hetzner

Optimized and Maintenance-free Kubernetes on Hetzner Cloud in one command!

Repository: https://github.com/mysticaltech/terraform-hcloud-kube-hetzner
Canonical: https://ross.abutalabs.com/products/terraform-hcloud-kube-hetzner
Language: HCL
License: MIT
License Family: permissive
Topics: kubernetes, terraform, k8s, k3s, hcloud, hetzner-cloud
Last push: 2026-08-10T07:52:56+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 96, longevity 100
- inputs: {"age_days": 1860, "days_push": 23, "days_rel": 25, "gap_med": 21.0, "n_releases_24m": 29}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3918, forks 560 (observed 2026-08-28T04:08:29.679968+00:00)

## What it is
A Terraform/OpenTofu module that deploys production-ready, highly available Kubernetes clusters (k3s or RKE2) on Hetzner Cloud with a single command. It bundles opinionated defaults for networking, storage, ingress, certificates, and automated OS/Kubernetes upgrades on immutable openSUSE nodes.

## Use cases
- deploy a kubernetes cluster on hetzner cloud
- set up ha k3s with terraform
- cost-optimized kubernetes hosting
- spin up rke2 cluster on hcloud
- automate k8s cluster provisioning and upgrades
- create a production kubernetes cluster in one command

## When to choose
- You want a fully automated, HA Kubernetes cluster on Hetzner Cloud with minimal manual setup
- You prefer infrastructure-as-code with Terraform/OpenTofu and opinionated production defaults
- You want built-in autoscaling, auto-upgrades, and choice of CNI (Cilium, Calico, Flannel)

## When to avoid
- You run Kubernetes on a different cloud provider or on-premises
- You need full manual control over every cluster component rather than opinionated defaults
- You are not using Hetzner Cloud infrastructure

## Facets
- artifact type: infra-config
- maturity: active
- function: infrastructure-as-code, container-orchestration, deployment, configuration-management
- domain: cloud-computing, infrastructure-as-code, self-hosted
- platform: cloud
- tags: kubernetes, k3s, rke2, hetzner-cloud, terraform-module, opentofu, opensuse, high-availability, autoscaling, cilium, containers, devops, terraform, linux

## Member repositories
- mysticaltech/terraform-hcloud-kube-hetzner (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:29.679968+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:01.660344+00:00, confidence not recorded.
  - readme: https://github.com/mysticaltech/terraform-hcloud-kube-hetzner (fetched 2026-08-28T04:08:29.679968+00:00, sha 9b36b2364229)
- Data as of 2026-08-30T08:39:29.467469+00:00.
