O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching the AKS cluster

First of all, we need to register for the AKS service. To do this run the following command:

$ az provider register -n Microsoft.ContainerService

It will take a few minutes for the registration to complete. You can check on the status of the registration by running the following:

$ az provider show -n Microsoft.ContainerService

Once you see a registrationState of Registered you are good to go. To launch the cluster, we need to first create a resource group and then create the cluster. At present, AKS is available in either ukwest or westus2:

$ az group create --name KubeResourceGroup --location ukwest$ az aks create --resource-group KubeResourceGroup --name AzureKubeCluster --agent-count 1 --generate-ssh-keys

Once ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required