O'Reilly logo

Mastering Docker - Third Edition by Scott Gallagher, 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

Azure Kubernetes Service

The Azure Kubernetes Service (AKS), is an extremely simple service to launch and configure. I will be using the Azure command-line tools on my local machine; you will also be able to use the command-line tools by using the Azure Cloud Shell which is built into the Azure Portal.

The first thing we will need to do is create a resource group to launch our AKS cluster into. To create one called MasteringDockerAKS, run the following command:

$ az group create --name MasteringDockerAKS --location eastus

Now that we have the resource group, we can launch a two node Kubernetes cluster by running the following command:

$ az aks create --resource-group MasteringDockerAKS \    --name MasteringDockerAKSCluster \ --node-count 2 \ ...

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