Open evgenyb opened 3 years ago
Hi @evgenyb thanks so much for that detailed guide!
could you please figure out what is wrong might me during the actual aks cluster provisioning
Thank you in advance.
az aks create -g iac-ws2-blue-rg -n iac-ws2-blue-aks \ --nodepool-name systempool \ --node-count 1 \ --max-pods 110 \ --enable-aad --aad-admin-group-object-ids ${ADMIN_GROUP_ID} \ --kubernetes-version 1.19.7 \ --vm-set-type VirtualMachineScaleSets \ --docker-bridge-address 172.17.0.1/16 \ --enable-managed-identity \ --assign-identity ${MANAGED_IDENTITY_ID} \ --vnet-subnet-id ${SUBNET_ID} \ --no-ssh-key \ --attach-acr iacws2${YOUR_NAME}acr \ --enable-addons monitoring --workspace-resource-id ${WORKSPACE_ID}
Operation failed with status: 'Bad Request'. Details: 400 Client Error: Bad Request for url: https://management.azure.com/s ubscriptions/14bcc9f5-e7a6-42aa-906f-c0ae9c69d8b3/resourceGroups/iac-ws2-blue-rg/providers/Microsoft.Network/virtualNetworks/iac-ws2-blue-vnet/subnets/aks-net%0D/providers/Microsoft.Authorization/roleAssignments?$filter=atScope%28%29&api-version=2020-04-01-preview
update 1: it happens due the param ' --vnet-subnet-id ${SUBNET_ID} \' without that param, I am able to create the cluster
the other comment is that aks 1.19.7 is no longer available, it should be 1.19.9
Operation failed with status: 'Bad Request'. Details: Version 1.19.7 is not supported in this region.
Hi @evgenyb thanks so much for that detailed guide!
could you please figure out what is wrong might me during the actual aks cluster provisioning
Thank you in advance.
Operation failed with status: 'Bad Request'. Details: 400 Client Error: Bad Request for url: https://management.azure.com/s
ubscriptions/14bcc9f5-e7a6-42aa-906f-c0ae9c69d8b3/resourceGroups/iac-ws2-blue-rg/providers/Microsoft.Network/virtualNetworks/iac-ws2-blue-vnet/subnets/aks-net%0D/providers/Microsoft.Authorization/roleAssignments?$filter=atScope%28%29&api-version=2020-04-01-preview
update 1: it happens due the param ' --vnet-subnet-id ${SUBNET_ID} \' without that param, I am able to create the cluster