Complete the code to create an AKS cluster using Azure CLI.
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count [1] --enable-addons monitoring --generate-ssh-keysThe --node-count parameter specifies the number of nodes in the AKS cluster. A typical starting count is 3 nodes for availability.
Complete the command to get credentials for your AKS cluster.
az aks get-credentials --resource-group myResourceGroup --name [1]The --name parameter expects the AKS cluster name to fetch credentials.
Fix the error in the kubectl command to deploy a YAML file.
kubectl [1] -f deployment.yamlThe apply command is used to create or update resources from a YAML file.
Fill both blanks to scale the AKS deployment to 4 replicas.
kubectl scale deployment [1] --replicas=[2]
The deployment name is needed to scale it, and the replicas number sets the desired count.
Fill all three blanks to expose the deployment as a LoadBalancer service on port 80.
kubectl expose deployment [1] --type=[2] --port=[3]
Exposing the deployment with type LoadBalancer creates an external IP. Port 80 is the standard HTTP port.