Launching your AKS cluster
Launching your AKS cluster requires two commands. The first command creates an Azure resource group:
$ az group create --name k8sforbeginners-rg --location eastus -o table
In the preceding command, we are creating a resource group called k8sforbeginners-rg
in the eastus
region and setting the output to be formatted as a table rather than JSON, which is the default output type for the Azure CLI.
Information
A resource group is a logical container used to group related Azure resources. Services launched within the resource group can inherit settings such as role-based access controls, locks, and even the location.
Once the resource group has been created, you should see something like the following output:
Now that we have our resource group, we can launch our AKS cluster by running the following command:
$ az aks create --resource-group k8sforbeginners-rg --name k8sforbeginners...