Sample:
az login
Reference: https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli
Sample:
az account show -o table
Sample:
az account set -s <replace_with_subscriptionId>
Reference: https://docs.microsoft.com/en-us/cli/azure/account?view=azure-cli-latest#az-account-set
Sample:
az aks get-credentials --name <replace_with_aks_name> --resource-group <replace_with_resource_group_name>
Reference: https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-get-credentials
Sample:
kubectl get services --namespace default nginx-ingress-nginx-controller --output jsonpath='{.status.loadBalancer.ingress[0].ip}'