Creating a Kubernetes cluster

When the resource group is created, a new Kubernetes cluster can be added to the group:

az aks create --resource-group mpn-rg-kubernetes --name mykubernetescluster --node-count 1 --enable-addons monitoring --generate-ssh-keys

This command creates a new Kubernetes cluster with the name mykubernetescluster and with a single node. This means that there will be one virtual machine created in the Azure portal that is configured as a node for the Kubernetes cluster. In addition, the monitoring add-ons will be enabled on the cluster.

The creation of this cluster will take a couple of minutes. In Azure, the mykubernetescluster service will be created in the specified resource group. Alongside this resource group, another group will be created by the Azure platform itself.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.11.98