The DKP user interface allows you to provision an AKS cluster from your browser quickly and easily.
Create an AKS Infrastructure Provider
Before provisioning a cluster via the UI, first create an AKS infrastructure provider to hold your AKS credentials:
Log in to the Azure command line:CODE
Create an Azure Service Principal (SP) by running the following command:CODE
az ad sp create-for-rbac --role contributor --name "$(whoami)-konvoy" --scopes=/subscriptions/$(az account show --query id -o tsv)
Select Infrastructure Providers from the Dashboard menu.
Select Add Infrastructure Provider.
Choose a workspace. If you are already in a workspace, the provider is automatically created in that workspace.
Select Microsoft Azure.
Add a Name for your Infrastructure Provider.
idoutput from the log in command above and put it into the Subscription ID field.
tenantused in Step 2 and put it into the Tenant ID field.
appIdused in Step 2 and put it into the Client ID field.
passwordused in Step 2 and put it into the Client Secret field.
Provision an AKS Cluster
Follow these steps to provision an AKS cluster:
From the top menu bar, select your target workspace.
Select Clusters > Add Cluster.
Choose Create Cluster.
Enter the Cluster Name.
From Select Infrastructure Provider, choose the provider created in the prerequisites section.
In order to create a Kubernetes Version, run the command below in the
azcli, and then select the version of AKS you want to use.CODE
az aks get-versions -o table --location <location>
Select a data center location or specify a custom location.
Edit your worker Node Pools, as necessary. You can choose the Number of Nodes, the Machine Type, and for the worker nodes, you can choose a Worker Availability Zone.
Add any additional Labels or Infrastructure Provider Tags, as necessary.
Validate your inputs, then select Create.
It can take up to 15 minutes for your cluster to appear in the Provisioned status.
You are then redirected to the Clusters page, where you’ll see your new cluster in the Provisioning status. Hover over the status to view the details.
Access an AKS Cluster
After the cluster is successfully attached (managed), you can retrieve a custom
kubeconfig file from the UI using your DKP UI administrator credentials.