Skip to content

ernado/ki

Repository files navigation

ki

Opinionated Kubernetes Installer for Hetzner Cloud.

This can be done in Ansible, but I'm doing it myself in Go.

Links

What it should do

  • Disable swap
  • Configure kernel modules and parameters
  • Install containerd
  • Install kubelet, kubeadm, kubectl
  • Install helm, cilium
  • Initialize the cluster
  • Install a CNI (Cilium)
  • Join cluster
  • Install Hetzner ingress and CSI

Usage

go install github.com/ernado/ki/cmd/ki-prepare-tf@latest
export HETZNER_TOKEN=...
ki-prepare-tf
terraform init
# cat .tfvars
# Update .tfvars if needed
terraform apply --var-file=.tfvars

TODO

W0211 15:38:05.996784   19812 checks.go:846] detected that the sandbox image "registry.k8s.io/pause:3.8" of the container runtime is inconsistent with that used by kubeadm.It is recommended to use "registry.k8s.io/pause:3.10" as the CRI sandbox image.

About

K8s installer for Hetzner VPS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages