Create an Azure AKS cluster in your connected Azure account using Tanzu Mission Control.
Prerequisites
Make sure you have already created an account credential that provides access to your Azure account, as described in Create an Azure AKS Credential.
The Azure service principal that is attached to the
Tanzu Mission Control credential must be added to the AAD (Azure Active Directory) admin group(s) before starting the cluster creation process. Otherwise, the
Tanzu Mission Control agent deployment process fails with the following error:
error: You must be logged in to the server (Unauthorized)
When creating AKS clusters,
Tanzu Mission Control uses the following naming convention:
aks.generated-id.resource-group.cluster-name
Procedure
- In the Tanzu Mission Control console, click Administration in the left navigation pane.
- Click Clusters in the left navigation pane.
- Click Create cluster, and then choose Create AKS cluster from the dropdown.
- Enter a name for the cluster, and specify the cluster group.
The cluster name must start and end with a letter or number, contain only lowercase letters, numbers, and hyphens, and be a maximum length of 63 characters.
- You can optionally add a description and label.
- Click Next.
- Configure the control plane.
- Select the account credential and subscription in which you want to create the cluster.
- Select the resource group.
- Optionally enter an AKS tag for the node pool.
- In the Cluster Details section, select the version of Kubernetes to use for the cluster, and its region.
Note:
Tanzu Mission Control provides a list of regions in which you can create the control plane. In Azure, the availability of geographical regions is determined by your subscription. It is possible to select a region from the list for which you do not have a subscription, in which case an error message appears after
Tanzu Mission Control attempts to create the node plane.
- Select the type of cluster identity you want to use.
You can accept the default system-assigned managed identity or specify a user-assigned managed identity. If you select user-assigned, you must provide a valid managed identity defined in your Azure subscription. The format of the identity looks something like this:
"/subscriptions/my-subscription-id/resourcegroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-managed-identity"
For more information about managed identities in AKS, see the following topics in the
Azure documentation:
- In the Network section, select the network configuration, either Kubenet or Azure CNI, and specify the DNS name prefix. Kubenet and CNI differ in how they assign IP addresses to nodes and pods. For more information, see Microsoft Azure Container Networking in the Azure documentation.
- Click Next.
- Configure node pools.
- Specify the node name.
- Select the mode, either System or User.
- Select the availability zones.
- Optionally enter a description.
- Optionally enter an AKS tag for the node pool, AKS labels, and taints.
- Configure the compute parameters by selecting VM size.
- Configure the scaling parameters.
- Click Disk encryption setting to provide your own key for managing disk encryption.
- Click Create.
Results
The cluster is created and under
Tanzu Mission Control lifecycle management.