Accessing application in kubernetes cluster through ingress

4/23/2020

I have a cluster setup locally. I have configure ingress controller with traefik v2.2. I have deployed my application and configured the ingress. Ingress service will query the clusterIP. I have configured my DNS with the A record of master node. Now the problem is i am unable to access the application through ingress when the A record is set to master node. I have accessed the shell of ingress controller pod in all the and tried to curl the clusterIP. I cannot get response from the pod in master node but the pods in worker node give me the response i want. Also I can access my application with A record is set to any of the worker node. I have tried to disable my firewalld service and tried but its same. Did i miss anything while configuring?

Note: I have spin off my cluster with kubeadm.

Thank You.

-- Susanta Gautam
kubeadm
kubernetes
kubernetes-ingress
traefik-ingress

0 Answers