In the previous post, we built a Docker image and then pushed it to Azure Container Registry to host. Now in this one, I am going to show you how to create a Kubernetes Cluster in Azure Container Service.

Azure Container Service allows you to quickly deploy a production ready Kubernetes, DC/OS, or Docker Swarm cluster. Learn how to use Azure Container Service with these quickstarts, tutorials, and samples.

Kubernetes on-premises seems to get bad press about it being hard to setup, though I haven’t tried to configure it my self from scratch, it seems to be pretty straight-forward when we create Kubernetes Cluster in Azure Container Service.

Creating the Kubernetes Cluster

We can use the “az acs create” Azure CLI command to create the Azure Container Service with a Kubernetes Cluster in it.

az acs create --orchestrator-type kubernetes --resource-group azurecontainerservicepoc --name AramK8SClusterPoc --generate-ssh-keys

The azurecontainerservicepoc is the resource group we generated in our Azure subscription in the previous post.