https://rancher.com/ logo
#rke2
Title
# rke2
a

adamant-kite-43734

09/30/2022, 1:10 PM
This message was deleted.
v

victorious-kite-35099

09/30/2022, 7:48 PM
Have you thought about Rancher + Harvester? This way, you have everything in a declarative way, and you can use Terraform to deploy Kubernetes clusters together with their VMs
k

kind-air-74358

10/03/2022, 6:13 AM
Yes we did, but unfortunately we currently don’t have access to the physical layer / virtualisation layer
s

sparse-fireman-14239

10/03/2022, 11:26 AM
TF for the VMs and then Ansible for the rest seeing as you’re on “baremetal”. https://github.com/lablabs/ansible-role-rke2
It’s quite common to use both TF and Ansible as they solve two different things, they complement each other very well.
k

kind-air-74358

10/04/2022, 6:11 AM
Yes, we are running on ‘baremetal’. So I use TF to deploy all the required VM’s, and use now some ssh_resource to deploy install scripts, which in turn installs RKE2. But that’s in my opinion not the way to use TF and install software. So I was Googling a bit around and came across those three possible setups, but didn’t really find a ‘best-practice’
6 Views