Hi Ranjeet Singh,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Check that Application Routing Add-On is properly enabled. Verify if the NginxIngressController
kind and API version approuting.kubernetes.azure.com/v1alpha1
are still supported.
Verify that Custom Resource Definitions (CRDs) are properly installed. If not reinstall the add-on or install the ingress controller manually.
See that the API version approuting.kubernetes.azure.com/v1alpha1
is supported kubectl api-versions | grep approuting
Try installing the NGINX ingress controller directly using Helm. First add the Helm repository then Install the NGINX Ingress controller.
For more detailed information please check https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/load-bal-ingress-c/create-unmanaged-ingress-controller?tabs=azure-cli#before-you-begin
If you have any further queries, please let me know.