Are you considering upgrading your Azure Kubernetes Service (AKS) cluster from a version prior to 1.24.3? You might want to read about my recent experience before you do. What was meant to be a routine upgrade turned into a frustrating two-hour debugging session. Although all pods and containers were running smoothly, we couldn't connect to the cluster from the outside internet.
At first, we thought it might be an IP address or DNS issue, but it turned out to be something more complicated. We ran troubleshooting on the AKS Load Balancer and it told us that firewall ports were being blocked. However, this was a red herring, and the root cause of the issue was entirely different.
The problem ended up being a breaking change that AKS introduced after Kubernetes v1.24.3 where they now require an annotation in your nginx ingress controller.
If you used that command to spin up ingress in your AKS cluster, then you do not need to add the annotation line as described above because it should already be there. But we made the mistake of assuming it was already there because we spun up several AKS clusters using that method. But the one cluster that failed the upgrade was created at a slightly earlier time then the others so that annotation was omitted during creation.
ENTREPRENEUR & SOFTWARE ENGINEER, AUSTIN, TX I enjoy tackling a wide array of business challenges ranging from front line product support and operations to sales and marketing efforts. My core expertise is in software development building enterprise level web applications.