Ingress is not working post aks upgrade to 1.24.9

Patwa, Rahul 0 Reputation points

I have upgraded the aks version to 1.24.9, it has been upgraded successfully . Now ingress is not working. At configuration level everything looks good. Even added the annotation /heaalthz into ingress config, but no luck.

Getting below logs, badly stuck :-

NGINX Ingress controller   Release:       v1.2.1   Build:         xxxxxxx   Repository:   nginx version: nginx/1.19.10  

  W0330 17:43:21.755583       7 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work. I0330 17:43:21.755715       7 main.go:230] "Creating API client" host="https://x.0.x.x:x" I0330 17:43:21.783132       7 main.go:274] "Running in Kubernetes cluster" major="1" minor="24" git="v1.24.9" state="clean" commit="xxxxxxxxx" platform="linux/amd64" I0330 17:43:22.210872       7 main.go:104] "SSL fake certificate created" file="/etc/ingress-controller/ssl/default-fake-certificate.pem"  I0330 17:43:22.232701       7 ssl.go:531] "loading tls certificate" path="/usr/local/certificates/cert" key="/usr/local/certificates/key" I0330 17:43:22.257160       7 nginx.go:256] "Starting NGINX Ingress controller" I0330 17:43:22.270906       7 event.go:285] Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"stage", Name:"new-ingress-ingress-nginx-controller", UID:"xxxxxx", APIVersion:"v1", ResourceVersion:"266020028", FieldPath:""}): type: 'Normal' reason: 'CREATE' ConfigMap stage/new-ingress-ingress-nginx-controller I0330 17:43:23.365442       7 store.go:429] "Found valid IngressClass" ingress="stage/new-ingress" ingressclass="nginx" I0330 17:43:23.366045       7 event.go:285] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"stage", Name:"new-ingress", UID:"xxxxxxxx", APIVersion:"", ResourceVersion:"266049461", FieldPath:""}): type: 'Normal' reason: 'Sync' Scheduled for sync I0330 17:43:23.366138       7 backend_ssl.go:65] "Adding secret to local store" name="stage/unificonnect-tls-cert" I0330 17:43:23.460119       7 nginx.go:299] "Starting NGINX process" I0330 17:43:23.460597       7 leaderelection.go:248] attempting to acquire leader lease stage/ingress-controller-leader... I0330 17:43:23.460999       7 nginx.go:319] "Starting validation webhook" address=":8443" certPath="/usr/local/certificates/cert" keyPath="/usr/local/certificates/key" I0330 17:43:23.461416       7 controller.go:167] "Configuration changes detected, backend reload required" I0330 17:43:23.467469       7 status.go:84] "New leader elected" identity="new-ingress-ingress-nginx-controller-xxxx-s6j86" I0330 17:43:23.546688       7 controller.go:184] "Backend successfully reloaded" I0330 17:43:23.547005       7 controller.go:195] "Initial sync, sleeping for 1 second" I0330 17:43:23.547422       7 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"stage", Name:"new-ingress-ingress-nginx-controller-xxxx-pfgfn", UID:"151e7520-4fe2-4c63-b444-3519e3e28654", APIVersion:"v1", ResourceVersion:"266049782", FieldPath:""}): type: 'Normal' reason: 'RELOAD' NGINX reload triggered due to a change in configuration I0330 17:44:10.687489       7 status.go:84] "New leader elected" identity="new-ingress-ingress-nginx-controller-xxxxxx-cq6lw"

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.
1,892 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andrei Barbu 2,576 Reputation points Microsoft Employee

    Hello Patwa, Rahul

    I can see you are using NGINX Ingress controller Release: v1.2.1

    As per, v1.2.1 is compatible with Kubernetes versions 1.23, 1.22, 1.21, 1.20, 1.19.

    Please consider upgrading you nginx ingress controller to a version that is compatible with Kubernetes version 1.24.

    I hope this is helpful. If any clarification needed, let me know and I will do my best to answer.

    Please "Accept as Answer" and Upvote if it helped, so that it can help others in the community looking for help on similar topics.

    Thank you!