hcloud-talos

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

README

hcloud-talos

Commands

This CLI tool provides an easy way to manage Talos powered Kubernetes clusters on the Hetzner Cloud. Bootstrapping a new cluster performs the following steps:

  • Create private network 10.0.0.0/16 for inter-node communication
  • Create placement group to ensure controlplane nodes to not run on the same physical machine
  • Create load balancer to access the controlplane nodes Kubernetes API server (port 6443) or Talos API server (port 50000)
  • Create firewall rules to block access to nodes from outside of the private network
  • Create first controlplane node
  • Install Hetzner Cloud Controller Manger
  • Install Hetzner CSI Driver

Usage

# ATTENTION: this folder will contain all crucial files and they must be stored somewhere secure!
mkdir my-cluster
cd my-cluster

export HCLOUD_TOKEN=...
# bootstrap cluster
hcloud-talos -v bootstrap-cluster --talos-version=1.5.3 --kubernetes-version=1.28.2 my-cluster controlplane-%id%

# add more nodes
hcloud-talos -v add-node --talos-version=1.5.3 controlplane-%id% --controlplane
hcloud-talos -v add-node --talos-version=1.5.3 worker-%id%

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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