ki

command module
v0.6.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
Create cluster
runcmd:
  - wget https://github.com/ernado/ki/releases/download/v0.1.1/ki-linux-amd64.tar.gz
  - tar -xvf ki-linux-amd64.tar.gz
  - mv ki /usr/local/bin/ki
  - ki --install

Control node should have 10.0.1.1 as internal IP. You can specify it by -control-plane-internal-ip flag.

Join cluster
runcmd:
  - wget https://github.com/ernado/ki/releases/download/v0.1.1/ki-linux-amd64.tar.gz
  - tar -xvf ki-linux-amd64.tar.gz
  - mv ki /usr/local/bin/ki
  - ki --join --install

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
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