What is the easiest and modern way for installing of kubernetes cluster from scratch

Dears ,
My company is looking working on building a Kubernetes cluster from scratch , so I was thinking what best way to do that > I found some pattern and solutions to do that by Kubespray and kubeadm

We are using the Azure Devops pipeline for deploying our apps to the could with the Azure portal.

My question is there a way we can do that by CI\CD and using any tool for Infrastructure as code ? and if there is away what should I pick and start with?
I just need consult and advice u from you guys

Although I am not entirely certain, I think Rancher might be able to do what you are hoping: