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!
infra
This project is responsible for providing the required infra to run a kubernetes-cluster.
Setup
Make sure config.auto.tfvars with all the needed configuration-secrets is present otherwise the module cannot be applied!
The file is savely stored in the password-manager.
|
terraform init (1)
terraform apply (2)
| 1 | Init the terraform modules if necessary |
| 2 | Setup infrastructure and create/update inventory.ini |
The setup will take longer than just the terraform apply, since it will install some.
As a rule of thumb wait ca. 5 minutes after the apply to do other work.
|