Endpoint to create a cluster and get kube-config


I browsed through the rancher docs but I am not able to find endpoints which can be used to provision a cluster (GKE/AKS) and get the kubeconfig of the cluster. If I am missing any documentation where these endpoints are documented, please point it to me.



Go to /v3/clusters in a browser, click create. Or create one through the UI and then View in API on it and copy that definition instead of starting from scratch.