I have tried to go through multiple searches on google however doesn't find anything why ingress controller's external ip is not accessible from browser. Its simple get request without any authentication or authorization.
I have followed this article to deploy simple ingress controller to services. https://learn.microsoft.com/en-us/azure/aks/ingress-basic?tabs=azure-cli
Also, when I tried to do curl on external IP of ingress nginx controller from CLI, then I am getting response but from browser/postman Its timed out.
PODS:
NAME |
---|
pod/ingress-nginx-controller-5756658855-2c7vl |
pod/platformweb-699bd55f6b-pzx4c |
Services:
NAME | TYPE | CLUSTER-IP | EXTERNAL-IP | PORT(S) |
---|---|---|---|---|
service/ingress-nginx-controller | LoadBalancer | 10.0.35.19 | 13.78.xxx.xxx | 80:32631/TCP,443:30020/TCP |
service/ingress-nginx-controller-admission | ClusterIP | 10.0.1.215 | none | 443/TCP |
service/platformweb | ClusterIP | 10.0.39.121 | none | 80/TCP |
Here is ingress.yml file
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: platformweb-ingress
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
labels:
name: platformweb-ingress
spec:
ingressClassName: nginx
rules:
- http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: platformweb
port:
number: 80
Any idea How can I resolve this problem.
Thanks in advance.