Been working on a golden KVM image (Packer) of RKE...
# rke2
a
Been working on a golden KVM image (Packer) of RKE2 on top of Rocky Linux 9 https://github.com/genert/packer-os It is based on the following https://github.com/markvzmiller/uds-rke2-image-builder So far VM is able to boot but etcd doesnt want to boot. Still trying to figure out what I am missing there. Was wondering if somebody has done similar setup?
c
... did you check the etcd pod logs?
oh it's not even getting that far, kubelet is crashing. Check kubelet.log
Basically just... look at logs?
a
Actually i did manage to do the same thing but i quickly fell back to installing on vm:s as usually, thats because i hade so many problem because my ips and hostnames were not the same nor could be the same (because of our environment) when building the image vs booting. Basically i had to recover the cluster when booting and did not gain any time. Let me know how it goes, great work 😄