Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 903 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 903 Bytes

Hetzner-k3s-bootstrap

Initial setup

hcloud context create project <id>
task helm-repo-add 

Personal repo for bootstrapping my single-node k3s cluster on Hetzner-Cloud.

task tf-init
task tf-apply
task cluster-init
task update-ip

To monitor cluster with k9s (this uses the k3s_kubeconfig.yaml file as the KUBECONFIG environ - created by terraform-kube-hetzner in task tf-apply ):

task kubeconfig-setup
task k9s

To tear down:

tak tf-destroy

Internals

The project does the following:

  1. Deploy a 1-server-k3s-cluster by using terraform-hcloud-kube-hetzner
  2. Install the cluster-addons/helm charts
  3. Use my small Go toolset to update the HetznerDNS records of my personal domain to point to the new endpoint of the created server hetzner-tools-go