Rancher aks-operator is a new service, which takes care about Azure Kubernetes Service cluster provisioning for Rancher based on AKSClusterConfig defined by Custom Resource Definition.
TAG=v1.0-rc1 make
git checkout https://github.com/rancher/aks-operator
cd aks-operator
go build -o aks-operator main.go
export KUBECONFIG=<kubeconfig_path>
kubectl apply -f crds/aksclusterconfig.yaml
cp examples/create-example.yaml examples/create-aks.yaml
vim examples/create-aks.yaml
export REPLACE_WITH_K8S_SECRETS_NAME=aks-secret
kubectl create secret generic $REPLACE_WITH_K8S_SECRETS_NAME --from-literal=azurecredentialConfig-subscriptionId=<REPLACE_WITH_SUBSCRIPTIONID> --from-literal=azurecredentialConfig-clientId=<REPLACE_WITH_CLIENTID> --from-literal=azurecredentialConfig-clientSecret=<REPLACE_WITH_CLIENTSECRET>
./aks-operator
kubectl apply -f examples/create-aks.yaml
kubectl delete -f examples/create-aks.yaml