Skip to content

Getting my single node k3s cluster on Hetzner up and running

Notifications You must be signed in to change notification settings

jdvgh/hetzner-k3s-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Getting my single node k3s cluster on Hetzner up and running

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published