Skip to content

☸ Create a Kubernetes Cluster on Hetzner Cloud using 3 Inputs

Notifications You must be signed in to change notification settings

konstfish/hetzner-k8s

Repository files navigation

hetzner-k8s

Create a Kubernetes Cluster on Hetzner Cloud using 3 Inputs (Hetzner API Key, Cloudflare API Key & Account ID)

Needs about ~30 minutes to complete

Variables

Defaults are pretty sensible, see ./variables.tf & ./terraform.tfvars

Kubespray

Kubespray is used to set up the Nodes in ./ansible.tf. If you need more configuration see ./ansible/group_vars

Ingress

Done using https://github.com/STRRL/cloudflare-tunnel-ingress-controller, I didn't want to pay for Hetzner's load balancers

Usage

export TF_VAR_hcloud_token="xxx"
export TF_VAR_cloudflare_api_token="xxx"
export TF_VAR_cloudflare_acount_id="xxx"

terraform init
terraform plan
terraform apply

About

☸ Create a Kubernetes Cluster on Hetzner Cloud using 3 Inputs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published