Skip to content
Deploy Kubernetes to Hetzner Cloud with Terraform via Rancher 2.0
Branch: rancher2-deploy
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Hetzner Cloud terraform example

  • Will create one cx11 Ubuntu host with defined ssh key and install Docker and Rancher 2 Server on the host
  • Will create three cx11 Ubuntu hosts with defined ssh key and install Docker and join to Rancher 2 Kubernetes Cluster

How to setup?

  • cp .env.dist .env
  • edit .env variables and save
  • run:
    • docker-compose run --rm terraform init
    • docker-compose run --rm terraform plan
    • docker-compose run --rm terraform apply
    • docker-compose run --rm terraform destroy

Rancher 2 Preview

You can’t perform that action at this time.