You can use Rancher to create a cluster hosted in Microsoft Azure Kubernetes Service (AKS).

Prerequisites

Obtain the following information from the Microsoft Azure Portal:

To Create an AKS Cluster

  1. From the Clusters page, click Add Cluster.

  2. Choose Azure Kubernetes Service.

  3. Enter a Cluster Name.

  4. Use Member Roles to configure user authorization for the cluster.

    • Click Add Members to add users that can access the cluster.
    • Use the Role drop-down to set permissions for each user.

  5. Use Cluster Options to choose the version of Kubernetes, what network provider will be used, if you want to enable Pod Security Policies and wether the nodes added to this cluster need to have a supported Docker version installed.

  6. Complete the Account Access form using the output from your Service Principal. This information is used to authenticate with Azure.

  7. Use Nodes to provision each node in your cluster and choose a geographical region.

    Microsoft Documentation: How to create and use an SSH public and private key pair

  8. Click Create.

  9. Review your options to confirm they’re correct. Then click Create.

Result:

  • Your cluster is created and assigned a state of Provisioning. Rancher is standing up your cluster.
  • You can access your cluster after its state is updated to Active.
  • Active clusters are assigned a Project and Namespace, both of which are named Default.