Hi,
I am facing a error below when I tried to enable app gateway addon for aks
az aks enable-addons -n pocakscluster -g POC-RG -a ingress-appgw --appgw-id $appgwId
UnrecognizedArgumentError: unrecognized arguments: --appgw-id /subscriptions/#####&&&&/resourceGroups/POC-RG/providers/Microsoft.Network/applicationGateways/pocappgw_
AKS is running on version 1.17.X
AppGW has WAF_v2 SKU
The same command was working fine earlier
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@kishaa Thanks a lot for reaching out. Please note that this repo is to drive improvements on Azure documentation. Can you please share the documentation link you are referring, so that we can assist you accordingly. Thank you
Looking forward to hear back from you.
@BharathNimmala-MSFT here is the link (https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/application-gateway/tutorial-ingress-controller-add-on-existing.md)
I faced got the error after running command on sequence number 2.
@kishaa, Appreciate your patience. Are you executing these CLI commands from your MAC? If yes it looks there is some issue with MAC version of CLI. Please continue using cloud shell for now. Let us know if you can execute from cloud shell or not.
@SubhashVasarapu-MSFT I was not using mac. I tried it on cloud CLI and using windows powershell as well but the results were identical (got same error). However you can refer the link https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az_aks_enable_addons there is no such option ( --appgw-id) with az aks enable-addons command. It's pretty suspicious cause same command worked fine on Thursday (i.e. November 12)
Hi all,
I'm facing the same issue that @kishaa had.
Any ideas?
Thanks!
@SubhashVasarapu-MSFT Is there any update on this issue which you would like to share?
Can anyone please share any workaround to get app gateway integrated with AKS
@kishaa, @0GiS0, Yes, this addon is missing on the list and been a showstopper for now. Also, this feature is not yet generally available and is in preview. We don't recommend deploying these in your production environments as it is still under testing and evolving.
We have raised this issue with the corresponding product team.
@kishaa, @0GiS0, we are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion. Also, product team would prioritize against existing backlog, add in roadmap as appropriate and would announce and/or update the related Azure document once it is addressed. Thanks for your active participation.
Encounter the same problem
UnrecognizedArgumentError: unrecognized arguments: --appgw-id
@SubhashVasarapu-MSFT , the issue is persisting in cloud shell also
Running this before the other commands might help: az extension add --name aks-preview
It doesn't explicitly say in the beginning of the documentation that you need to do this first. There's a mention of enabling extensions at the beginning of the document:
When you're prompted, install Azure CLI extensions on first use. For more information about extensions, see Use extensions with Azure CLI.
However, it doesn't say which extension(s) need to be installed in this case.
Later on, there's a reminder about installing the aks-preview extension:
Make sure you've added/updated the aks-preview extension at the beginning of this tutorial.
It says there that the extension is added at the beginning of the tutorial, but the command for adding the aks-preview extension is not given alongside the az feature register and other related commands, so it's easy to miss.
The doc has been edited accordingly and it would take some time for the changes to get reflect over the doc.
Most helpful comment
Running this before the other commands might help:
az extension add --name aks-previewIt doesn't explicitly say in the beginning of the documentation that you need to do this first. There's a mention of enabling extensions at the beginning of the document:
However, it doesn't say which extension(s) need to be installed in this case.
Later on, there's a reminder about installing the aks-preview extension:
It says there that the extension is added at the beginning of the tutorial, but the command for adding the aks-preview extension is not given alongside the
az feature registerand other related commands, so it's easy to miss.