AKS Commands

Get the resource ID for the existing AKS cluster

Get the resource ID:

SP_ID=$(az aks show --resource-group aksrg --name pdtaks\
    --query servicePrincipalProfile.clientId -o tsv)
az ad sp credential list --id $SP_ID --query "[].endDate" -o tsv

From: AKS ErrImagePull and ImagePullBackOff on AKS after a year

Comments

Leave a Comment

All fields are required. Your email address will not be published.