Opinionated AKS setup (Cilium, Longhorn, local NVMe)
To get maximum price/performance ration, the below establishes an AKS cluster using spot instances (some can be reserved for stability), and Cilium networking.
The above steps can also be done in the Azure portal if preferred.
Connect to the cluster using cloud shell, and run the bootstrap to configure kubernetes with nodes.yaml and install initial helm charts. If RANCHER_FQDN env var is configured the bootstrap will also install Rancher.
Backup to azure blob storage acct
Add more clusters
In rancher, under Cluster Management click Import Existing and copy the kubectl apply -f ...yaml command. Then use azure cli to provision another cluster and register it with the kubectl command like below.
The above steps can also be done in the Azure portal if preferred.