The following recipe shows how to quickly change the Kubernetes context using Azure CLI.
Step 1. Login to Azure with the Azure CLI
az login
Step 2. Get the list of AKS clusters
az aks list -o table
Step 3. Switch cluster (context)
kubectl config use-context <cluster-name>
Top comments (0)