4 - Azure AKS
Creating an Azure Container Service Cluster
You can use Rancher to 创建集群 using Microsoft Azure Container Service.
From the Clusters page, click Add Cluster.
Choose Azure Container Service.
Enter a Cluster Name.
Use Member Roles to configure user authorization for the cluster.
- Click Add Member to add users that can access the cluster.
- Use the Role drop-down to set permissions for each user.
Use Cluster Options to choose the version of Kubernetes, what network provider will be used and if you want to enable project network isolation. To see more cluster options, click on Show advanced options.
Complete the Account Access form. This information is used to authenticate with Azure.
- You can find your Subscription ID and Tenant ID on the Microsoft Azure Portal.
- To obtain a Client ID and Client Secret, follow the instructions in this document.
- 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
Click Create.
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 two Projects,
Default
(containing the namespacedefault
) andSystem
(containing the namespacescattle-system
,ingress-nginx
,kube-public
andkube-system
, if present).