I have Kubernets 1.15.3 cluster with Calico CIN and IPVS setup. Cluster running two coredns prods(one in master node and one in worker node). From one of the nginx pod, I can ping coredns pod IP running on worker node, but unable to ping coredns pod running on the master node.
Here is my cluster subnet configuration.
kubernetesVersion: v1.15.3
networking:
dnsDomain: cluster.local
podSubnet: 10.232.0.0/16
serviceSubnet: 10.232.0.0/12
Calico IP Pool
# The default IPv4 pool to create on startup if none exists. Pod IPs will be
# chosen from this range. Changing this value after installation will have
# no effect. This should fall within `--cluster-cidr`.
- name: CALICO_IPV4POOL_CIDR
value: "10.232.0.0/16"
From the master node I can see IPVS entry for coredns pod IP, but unsure why ngnix pod not able ping this IP address. Any tips to troubleshoot this issue.
ipvsadm -ln |grep 10.232.35.74
-> 10.232.35.74:53 Masq 1 0 0
-> 10.232.35.74:9153 Masq 1 0 0
-> 10.232.35.74:53 Masq 1 0 0
Thanks SR