Starting to use AKS
With Minikube installed, it's time to set up and explore the Kubernetes environment in Azure:
- Create a cluster
- Find information about the cluster
- Deploy a simple workload
- The Kubernetes components behind the workload
Creating a cluster with the Azure CLI
In Kubernetes, you're going to work with clusters. A cluster contains a master or control plane that is in control of everything and one or more worker nodes. In Azure, you don't have to care about the master, only about the nodes.
It's a good idea to make a new resource group for the purposes of this chapter:
az group create --location westus --name MyKubernetes
In this resource group, we will deploy our cluster:
az aks create --resource-group MyKubernetes \ --name Cluster01 \ --node-count 1 --generate-ssh-keys
This command can take up to 10 minutes. As soon as you get your prompt back, verify it with the following:
az aks list
In the output, you'll find a lot of information, such as the full qualified domain name, the name...