Communication issue between frontend and backend pods using cluster IP, it works with Nodeport or Loadbalancer IP

Mani, Subhash 0 Reputation points
2024-10-15T12:26:58.0266667+00:00

Communication issue between frontend and backend pods using cluster IP, it works with Node port or Load balancer IP.

I have a three-tier application which we have deployed as pods in AKS cluster. Front end is running using tomcat and backend is using jdk 11. Frontend pod is able to communicate with the backend pod only with public IP(either nodeport or LoadbalancerIP) it is not working with Cluster IP.
I do not want to expose the backend and the DB over the public IP but for some reason it is not working with cluster IP.

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,127 questions
{count} votes

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.