Azure AKS - Nginx application routing addon with private IP setup

Ranjeet Singh 20 Reputation points
2025-01-01T20:04:04.2+00:00

Hi, I am trying to setup ngnix based application routing add-on in AKS using below link.

https://learn.microsoft.com/en-us/azure/aks/create-nginx-ingress-private-controller

I used the below yaml to apply the custom add-on

enter image description here

I am getting below error

error: unable to recognize "nginx-internal-controller.yaml": no matches for kind "NginxIngressController" in version "approuting.kubernetes.azure.com/v1alpha1"

Is there newer/updated way to configure above?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,254 questions
{count} votes

1 answer

Sort by: Most helpful
  1. anashetty 2,040 Reputation points Microsoft Vendor
    2025-01-02T07:44:26.07+00:00

    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.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.