Which two tools should you use? Each correct answer presents a complete solution.

August 21, 2021 by Admin

You have an Azure Kubernetes Service (AKS) cluster named AKS1.

You need to configure cluster autoscaler for AKS1.

Which two tools should you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  • the kubectl command
  • the az aks command
  • the Set-AzVm cmdlet
  • the Azure portal
  • the Set-AzAks cmdlet
Explanation:
A: The following example uses the kubectl autoscale command to autoscale the number of pods in the azure-vote-front deployment. If average CPU utilization across all pods exceeds 50% of their requested usage, the autoscaler increases the pods up to a maximum of 10 instances. A minimum of 3 instances is then defined for the deployment:

kubectl autoscale deployment azure-vote-front –cpu-percent=50 –min=3 –max=10

B: Use the az aks update command to enable and configure the cluster autoscaler on the node pool for the existing cluster.

Leave a Reply