Complete the code to create a managed Kubernetes cluster in Azure.
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count [1] --enable-addons monitoring --generate-ssh-keysThe --node-count option sets the number of nodes in the cluster. It must be a positive integer like 3.
Complete the command to get credentials for your AKS cluster.
az aks get-credentials --resource-group myResourceGroup --name [1]The --name option requires the AKS cluster name, such as myAKSCluster.
Fix the error in the command to scale the AKS cluster nodes.
az aks scale --resource-group myResourceGroup --name myAKSCluster --node-count [1]The --node-count must be a positive integer. Using 5 scales the cluster to 5 nodes.
Fill both blanks to enable the HTTP application routing addon.
az aks enable-addons --resource-group myResourceGroup --name myAKSCluster --addons [1] --app-routing-dns-name [2]
The addon name for HTTP routing is http_application_routing. The DNS name is a custom domain like myapp.example.com.
Fill all three blanks to create a node pool with spot instances.
az aks nodepool add --resource-group myResourceGroup --cluster-name myAKSCluster --name [1] --priority [2] --spot-max-price [3]
The node pool name can be spotpool. The priority for spot instances is Spot. The max price of -1 means the max price is the current on-demand price.