Connectivity Issues with AKS Web App Deployment

shoyeb shaikh 5 Reputation points
2025-04-29T08:57:06.04+00:00

We are currently experiencing issues with a web application/site deployed on an Azure Kubernetes Service (AKS) cluster. The key challenges include:

  • Inability to connect to the web app hosted on the AKS cluster.
  • Missing system-kube-proxy pods in the cluster.
  • Load balancer configuration issues, causing ingress-related connectivity problems.

Unfortunately, the Azure portal is directing us to Microsoft Q&A instead of providing an option for submitting a direct support request. Given the complexity of these issues, we believe a call with your support team would be the best way to resolve the matter.

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.
2,404 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Durga Reshma Malthi 430 Reputation points Microsoft External Staff Moderator
    2025-04-29T11:06:17.6566667+00:00

    Hi shoyeb shaikh

    Could you please follow the below steps to resolve this issue:

    1. Run the command kubectl get nodes in a terminal or in Azure Cloud Shell to verify all nodes are in a ready state. If not, use kubectl describe node to identify node issues such as taints, events, or conditions affecting the node.
    2. Access the overall AKS Cluster health by executing:
      az aks show -g -n --query "provisioningState". It should return succeeded.
    3. Retrieve the status of all pods with- kubectl get pods -A and ensure your web app pod is running. If the pods fails or encounter errors, then check the logs with the command kubectl logs <pod name>
    4. Verify whether Kube-proxy pods are active -
      kubectl get pods -n kube-system | grep kube-proxy. If missing, restart the kube-proxy DaemonSet - kubectl rollout restart daemonset kube-proxy -n kube-system.
      If kube-proxy is failing, check network policies: kubectl get networkpolicy -n kube-system and ensure no network policies are blocking kube-proxy communication.
    5. Retrieve the list of Kubernetes services to look for the web app service by running the command - kubectl get svc -A and ensure that the service type is set to Loadbalancer for your web application. Test the Loadbalancer service and ensure that its external IP Address is not in a pending state: curl http://<external-ip>
    6. Access the ingress controller access with the command - kubectl get pods -n ingress-nginx and verify the service exposing the ingress controller with the command - kubectl get svc -n ingress-nginx. Ensure the service type should be Loadbalancer with an external IP Address.
    7. Also, ensure NSG Rules must allow TCP 80/443 inbound to the subnet or VMSS.
    8. If the issue persists, restart the affected services - kubeproxy pods, ingress controller and recreate the loadbalancer and then test access to your application using the external IP: curl http://<external-ip>

    Additional references:

    https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/connectivity/connection-issues-application-hosted-aks-cluster

    https://learn.microsoft.com/en-us/azure/aks/configure-kube-proxy

    Hope this helps!

    Please Let me know if you have any queries. If you found the information helpful, please click "Upvote" on the post to let us know and consider accepting the answer as the token of appreciation. Thank You.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.