ki

command module
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

ki

WIP: Opinionated Kubernetes Installer for Hetzner Cloud.

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

What it should do

  • Disable swap
  • Configure kernel modules and parameters
  • Install conteinerd
  • 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 -tfvars=.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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
httpserver command
ki-check-tf command
ki-destroy command
ki-prepare-tf command
internal
install
Package install wraps install steps.
Package install wraps install steps.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL