I deleted the kubernetes cluster and recreated it. this resolved the issue but was obviously very destructive. If you have the same issue I wish you luck.
Can't connect to AKS ingress from internet
I have an ingress-nginx ingress for my Kubernetes service.
If I curl the external IP from inside the cluster, like from a pod such as this kubectl run my-shell --rm -i --tty --image ubuntu -- bash
, I get the result I expect.
If I curl from the internet, It times out. What could be the problem?
Resources online have pointed me to check my firewall and NSG settings. I see one of my NSGs has an explicit exception for the IP chosen by the ingress-nginx ingress, which seems to update automatically. Is there a way to see if there are other firewalls and network security groups between my AKS cluster and the internet?
This problem began after updating from kubernetes 1.19 to 1.22
Azure Kubernetes Service
2 answers
Sort by: Most helpful
-
-
Owain Osborne-Walsh 0 Reputation points Microsoft Employee
2023-01-30T19:38:04.5933333+00:00 Just run into the same problem without upgrading. Identical to this in regards to external IP now unavailable despite no cluster changes but can still be curled inside the cluster.