Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 477 Bytes

File metadata and controls

21 lines (15 loc) · 477 Bytes

K3S example for Hetzner-Cloud

Configuration in this directory creates a k3s cluster resources including network, subnet and instances.

Usage

Warning

Note that this example may create resources which cost money. Run terraform destroy when you don't need these resources.

$ export HCLOUD_TOKEN=...
$ terraform init
$ terraform apply

How to connect to a node ?

terraform output -raw ssh_private_key | ssh-add -
ssh root@NODE-IP