It is assumed that the user is acquainted with Azure CLI.

Login via the Azure CLI

az login

Follow the instructions in the shell to complete the login.

Verifying access to the Azure subscriptions

az account list --refresh

This will show all available subscriptions, for example, as follows.

Use az account set -s <id> to choose a specific subscription.

Creating a Resource Group

az group create --name <resourceGroupName> --location  <region>

Example output follows:

Creating a Proximity Placement Group

az ppg create -n <ppgName> -g <resourceGroupName> -l <region> -t standard

Creating an AKS Cluster

az aks create --resource-group <resourceGroupName> --name <clusterName> --node-count 3  --generate-ssh-keys --ppg <ppgResourceID>

If kubectl is not installed, it can be easily installed using:

sudo az aks install-cli

To verify that it was created, use:

kubectl get nodes


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment