This message was deleted.
# harvester
a
This message was deleted.
w
The only issue I've had with using disk images (as opposed to installing using ISO) is if partitions set larger than size of disk allocated. What's the filename of image you're trying?
s
I was initially trying https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img. This gets stuck at "initrdless boot". After reading a thread on someone having similar issues https://forum.proxmox.com/threads/cannot-start-new-vm-grub_force_partuuid-set-attempting-initrdless-boot.101783/. I tried their suggestion of using a different image
Copy code
<https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img>
This worked.
👍 1
w
I've been using the suggested one without issues. Looks like the minimal one changes frequently and given it's minimal is probably missing req'd bits - will give it a try though
s
I got the minimum one from the youtube video session. It seem to work for him.

https://www.youtube.com/watch?v=tVsMen_e6OI&amp;t=1183s

👍 1
w
I've not seen that, will watch after SUSECON finishes for day. I am seeing same error with minimal image.
Whilst he added the minimal image the VM he creates uses the ISO. Not sure what the original ubuntu-template VM uses. Will have to check comments.
s
When uses rancher to do a cloud deployment to harvester is when he used the cloud image. About 19.52 mins into the video. I don't think you can use IOS for cloud deployments.
f
hi all, I want to share my soluiton on this topic as I had the same issue and this was my road to success! First of I found your thread on using the minimal images for deploying harvester machines. I found this link describing the problem and explaining a bit some issues, espacialy with the latest ubuntu version 22.04 on rancher. URL: https://www.virtualizationhowto.com/2022/05/rancher-node-template-vmware-esxi-ubuntu-cloud-image/ # Solution: Using this URL : http://cloud-images.ubuntu.com/focal/current/ to find the minimal image with Unbuntu LTS ATTENTION!! Select the correct image being : "<ubuntu-release-name>-server-cloudimg-amd64.img" ## Upload the image and add the default labels : - os-tpye: ubuntu - image-type: raw_qcow2 ## Deploy cluster there are two way you can create a cluster From your Rancher dashboard : 1. Home - next to Clusters --> select "Create" 2. Home - Cluster management --> select/click "Create" the rest is follow the flow Happy K8s deploying/clustering Reference Video's: - JMcglock: FULL install Kubernetes on Rancher

https://www.youtube.com/watch?v=BgZFvKQ3I5Y

- Tehcno Tim:

https://www.youtube.com/watch?v=tVsMen_e6OI

1822 Views