az cli - The behavior of this command has been altered by the following extension: aks-preview An RSA key file or key value must be supplied to SSH Key Value. You can use --generate-ssh-keys to let CLI generate one for you
When running az cli to create aks cluster i bump into this issue
"The behavior of this command has been altered by the following extension: aks-preview"
An RSA key file or key value must be supplied to SSH Key Value. You can use --generate-ssh-keys to let CLI generate one for you"
To resolve this issue, all you need to do is, add the followings --generate-ssh-keys to your az cli command as shown here:
az aks create --resource-group rg-aks-mixed-pools --name myakscluster --vm-set-type "VirtualMachines" --node-count 1 --generate-ssh-keys
Comments