-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad ARM Template #2899
Comments
Hi @mjlally07 - thanks for raising this issue. I'm taking a look at the ARM template and will work to identify what needs to change to make the scenario work. |
@mjlally07 - I'm still working through this. The storageProfile shouldn't be necessary and I think the issue you were seeing is related to this. Because of capacity constraints on my subscription, I'm not able to deploy the client VM to East US or West Europe. In the meantime, I've deployed the Client VM and AKS cluster to another region and modified the PowerShell to force the Arc-enabled Kubernetes cluster to onboard in one of the supported regions. |
I submitted this pr to fix the storageProfile issue. Because of capacity constraints on my subscription, I wasn't able to fully test the end-to-end scenario directly but did use the ARM templates to successfully create the AKS cluster (and VM, etc.). |
Thanks. I'll track and retry when ready. |
Jumpstart scenario, Deploy an App Service app using custom container on AKS using an ARM Template
https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_app_svc/aks/aks_app_service_arm_template
Describe the issue or the bug
Receive {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"UnmarshalError","message":"Invalid request body. Converting request body to a managed cluster encountered error: json: unknown field "storageProfile" Check that the field is in the right location, is spelled correctly, and is supported in the API version. Visit aka.ms/aks/apiversions for more API version information.."}]}
To Reproduce
Deploy ARM Template
Expected behavior
Microsoft.ContainerService/managedClusters Deploys
Environment summary
Running command
az deployment group create
--resource-group Arc-AppSvc-Demo
--name arcappsvc
--template-uri https://raw.githubusercontent.com/microsoft/azure_arc/main/azure_arc_app_services_jumpstart/aks/ARM/azuredeploy.json
--parameters azuredeploy.parameters.json
Additional context
API Version "2024-02-02-preview" in ARM Template at https://github.com/microsoft/azure_arc/tree/main/azure_arc_app_services_jumpstart/aks/ARM/aks.json does not appear to exist here https://learn.microsoft.com/en-us/azure/templates/microsoft.containerservice/managedclusters?pivots=deployment-language-arm-template and no other API version seems to have storageProfile as property of agentPoolProfiles
The text was updated successfully, but these errors were encountered: