azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

AKS cluster creation is failing with Azure SDK

Open Sagar2366 opened this issue 6 years ago • 3 comments

I am using Azure SDK - 1.30.0 as suggested in this discussion : https://github.com/Azure/azure-sdk-for-java/issues/9656#issuecomment-606425420

For trial purpose I am using free subscription and I am trying to create an aks cluster with the examples provided in samples at here : https://github.com/Azure/azure-libraries-for-java/blob/master/azure-samples/src/main/java/com/microsoft/azure/management/containerservice/samples/ManageContainerServiceWithKubernetesOrchestrator.java

AKS cluster creation from portal is successful with FREE subscription but it is throwing error when I provide same location and vm type.

Error : An error has occurred in subscription xyz, resourceGroup: aks-rsg1 request: Provisioning of resource(s) for container service aks-aks-1 in resource group aks-rsg1 failed. Message: { "code": "InvalidTemplateDeployment", "message": "Provisioning of resource(s) for container service aks-aks-1 in resource group aks-rsg1 failed. Message: The template deployment failed with error: 'The resource with id: '/subscriptions/xyz/resourceGroups/aks-rsg1/providers/Microsoft.Compute/virtualMachines/k8s-master-39895793-0' failed validation with message: 'The requested size for resource '/subscriptions/xyz/resourceGroups/aks-rsg1/providers/Microsoft.Compute/virtualMachines/k8s-master-39895793-0' is currently not available in location 'westus' zones '' for subscription xyz'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'.. Details: " }. Details:

Any help would be highly appreciated, thanks.

Sagar2366 avatar Apr 01 '20 10:04 Sagar2366

@xccc-msft could you please follow up?

joshfree avatar Apr 01 '20 18:04 joshfree

@Sagar2366 This messaged is returned by server end. Can you please try with different location/vm size?

xseeseesee avatar Apr 02 '20 03:04 xseeseesee

Please try again and/or try with a different location. Closing for now as that should be resolved.

Jen7714 avatar May 29 '20 17:05 Jen7714