8000 GitHub - ernado/ki: K8s installer for Hetzner VPS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ernado/ki

Repository files navigation

ki

WIP: 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.
0