how to make application public in aks

Pravesh Mathema 0 Reputation points

I have deployed a application in AKS and created an ingress too. But my domain is not browsable from public internet and gives 404 not found.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,073 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Roderick Bant 2,041 Reputation points

    Hi, thank you for your question at Q&A.

    The 404 error most probably indicates that the application is getting requests. If request were not reaching the application through the reverse proxy/ingress a 50x response would be more likely in my opinion.

    So the first place I would check is the logs for your app running in kubernetes. You can do this with kubectl

    The syntax for getting logs from a container in a pod is:

    kubectl logs <POD> -c <CONTAINER>
    0 comments No comments

  2. Pravesh Mathema 0 Reputation points

    Yes application is running and working fine. There is no any public IP in workers node. Pod port is on cluster IP and in ingress I have passed to same service.

    There is one load balancer also i think there is issue on that load balancer.

    0 comments No comments