Skip to content

Latest commit

 

History

History

hcloud-k3s

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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