Files
base-infra/k3s
Felix Nehrke adec38e1cd Make ssh-port of servers initially configurable
It looks somehow random that the SSH-port was simply defined in the
configuration of the k3s-setup. It looks somehow "configurable" although
it isn't. Therefore I moved this setting to the correct place in the
terraform-setup.

An important side-note is that this change doesn't make it possible to
_change_ the ssh-port, though. Once decided for an port and I have to
stick to it until I tear down the cluster!
2025-09-19 18:03:04 +02:00
..

k3s

This project is responsible for setting up a k3s installation.

Setup

The setup requires a inventory.ini this should be provided by a previous step.

ansible-galaxy install -r requirements.yml (1)
ansible-playbook site.yml (2)
1 Install required ansible collections to create a k3s-cluster (can be omitted in subsequent runs)
2 Install k3s and download kube-config to .kube/config
The second step will override any existing kube config, this might destroy any existing settings!