az --version |
Shows the version number of the Azure CLI tool |
az login |
Logs in to your Azure account and connects the Azure CLI tool |
az account show |
Shows which Azure account you’re currently using |
az account list |
Shows all Azure accounts you’ve configured |
az account set --subscription=<id> |
Sets the Azure account you’re currently using |
az aks get-credentials --resource-group <resource-group> --name <cluster> |
Downloads credentials and connects kubectl to your Kubernetes cluster |
az aks update --name <cluster> --resource-group <resource-group> --attach-acr <registry> |
Attaches your container registry to your Kubernetes cluster. This means the cluster can pull images from the registry without being authenticated; not having to set up authentication between cluster and registry makes setup significantly simpler. |
|
|