Access To Pod from Worker Node in kubernetes cluster

5/14/2021

I have 3 nodes, node1 node2 node3
and I have 2 coredns pods. they actually exist in node1, node2.
when I test in node1, I can access coredns pod in node2.
but I can not access coredns pod in node1.
I use calico for cni. how can I fix it..?

for example.
in node1, coredns1 - 1.1.1.1.
in node2, coredns2 - 2.2.2.2.

in node1.
access 1.1.1.1:8080/health -> timeout.
access 2.2.2.2:8080/health -> ok.

in node2.
access 1.1.1.1:8080/health -> ok.
access 2.2.2.2:8080/health -> timeout.

-- JovialCoding
kubernetes

0 Answers