Skip to content
/ pyhk3 Public

Pythonic Hetzner K3s Cluster Creation (Based on hetzner-k3s)

License

Notifications You must be signed in to change notification settings

axgkl/pyhk3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Gunther Klessinger
Mar 19, 2025
d19fa47 · Mar 19, 2025

History

38 Commits
Feb 20, 2025
Mar 16, 2025
Mar 19, 2025
Feb 20, 2025
Mar 16, 2025
Mar 16, 2025
Feb 20, 2025
Feb 20, 2025
Feb 20, 2025
Mar 16, 2025
Mar 19, 2025
Feb 23, 2025
Feb 23, 2025
Feb 20, 2025

Repository files navigation

Tests

Hetzner K3s - Pythonic

A set of functions to setup K3s clusters on HCloud, based on vitobotta's hetzner-k3s

About

Hetzner-k3s is nicely engineered general k3s installation tool on Hetzner, with a large degree of declarative possibilities for customization. As terraform, it is a single static binary and idempotent, with a single source of truth. In contrast to terraform it is straightforward to use, with far less abstractions but a lot of built in best practices, incl CNI and autoscaling, plus faster.

This repo here provides a set of python functions, incl. possibly useful support tools to organize them, in order to further automate around the pure k3s installation, which hetzner-k3s provides.

Usage

Proxied K3s Installation

This is created, from your laptop:

Loading
flowchart LR
    A[World] --> B[Bastion Proxy<br/>IP pub<br/>Opt.LoadBalancer]
    B --priv net--> M1[Master 1<br/>...<br/>Master 3]
    B --priv net--> w1[Worker 1<br/>...<br/>Worker n]
    B --priv net--> a1[Autoscaled 1<br/>...<br/>Autoscaled n]

That bastion server is the only one with a public IP, and is equipped with a l4 loadbalancer, forwarding the traffic into the cluster, like a hetzner loadbalancer would do.

About

Pythonic Hetzner K3s Cluster Creation (Based on hetzner-k3s)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published