Jan 29 2018 10:53 PM
Jan 29 2018 10:53 PM
I found a problem during create AKS service on West EU by using azure CLI.
It shown the error as
"Operation failed with status: 'Bad Request'. Details: Required resource provider registrations Microsoft.Compute,Microsoft.Network are missing."
However, last week, I still possible to create a AKS cluster successfully.
So, I'm not sure that what happened to the AKS service on region West Europe or not. Or my commands for create AKS cluster is wrong? "az aks create -g aks --name AKSCluster --generate-ssh-keys"
PS. I deploy Azure AKS following this guide : https://carlos.mendible.com/2017/12/01/deploy-your-first-service-to-azure-container-services-aks/
Jan 30 2018 07:57 AM - edited Jan 30 2018 08:10 AM
All the time that i have tried deploying AKS Cluster i have used the 'node-count' in my command line.
az aks create --resource-group myResourceGroup --name myK8sCluster --node-count 1 --generate-ssh-keys
From: https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Also confirm you are not reaching any limits.
https://docs.microsoft.com/en-us/azure/aks/container-service-quotas
FYI: I assume you are using the same subscription you have successfully deployed AKS on before. If its a new resource check resource provider registration make sure they are all registered. Easiest make sure all required network and computer resource providers are registered is to deploy a new ARM VM from the portal. You will have to register the ContianerService resource provider manually.
Feb 06 2018 07:47 PM
Feb 09 2018 02:19 AM
May 11 2018 06:44 AM
There's a typo in the az provider command (and I couldn't get the CLI to accept multiple namespaces), so I would recommend:
az provider register --namespace Microsoft.Network
az provider register --namespace Microsoft.Compute
NOTE that the registration is asynchronous, so check whether these have completed with
az provider show --namespace Microsoft.Network -o table
az provider show --namespace Microsoft.Compute -o table