This isn’t really an issue with RKE2, but rather with Rancher and the CLI. I don’t think it supports creating v2 clusters?
creamy-pencil-82913
07/07/2023, 7:53 PM
You can’t us an RKE config to create an RKE2 cluster
s
stale-painting-80203
07/07/2023, 7:56 PM
Any suggestion on how I can automate creation of RKE2 downstream cluster for Rancher?
c
creamy-pencil-82913
07/07/2023, 8:01 PM
I think the idea is to move away from the custom Rancher API, and towards just directly creating the appropriate Kubernetes resource types using kubectl or another native Kubernetes client. I don’t know that we have an example of doing that though.