flannel: one pod cannot access clusterIP of another pod that running on the same node
I have two pods on the same node.
openstack-exporter-5555444865-bctlh 1/1 Running 1 (4h55m ago) 6h33m 10.244.2.61 k8s-worker-4.pacific-textiles.com
prometheus-server-6c549c7d4b-fmfvz 2/2 Running 0 4h22m 10.244.2.98 k8s-worker-4.pacific-textiles.com
However, prometheus-server
cannot access ClusterIP
of openstack-exporter
.
openstack-exporter ClusterIP 10.101.122.233 <none> 9180/TCP 6h43m
Here is tcpdump
against cni0
.
ubuntu@k8s-worker-4:~$ sudo tcpdump -i cni0 -vvv host 10.101.122.233 -n
tcpdump: listening on cni0, link-type EN10MB (Ethernet), capture size 262144 bytes
17:31:08.094903 IP (tos 0x0, ttl 64, id 38276, offset 0, flags [DF], proto TCP (6), length 60)
10.244.2.98.56726 > 10.101.122.233.9180: Flags [S], cksum 0x92d2 (incorrect -> 0x40c0), seq 816090733, win 62370, options [mss 8910,sackOK,TS val 1403735983 ecr 0,nop,wscale 7], length 0
17:31:09.102061 IP (tos 0x0, ttl 64, id 38277, offset 0, flags [DF], proto TCP (6), length 60)
10.244.2.98.56726 > 10.101.122.233.9180: Flags [S], cksum 0x92d2 (incorrect -> 0x3cd1), seq 816090733, win 62370, options [mss 8910,sackOK,TS val 1403736990 ecr 0,nop,wscale 7], length 0
17:31:11.118078 IP (tos 0x0, ttl 64, id 38278, offset 0, flags [DF], proto TCP (6), length 60)
10.244.2.98.56726 > 10.101.122.233.9180: Flags [S], cksum 0x92d2 (incorrect -> 0x34f1), seq 816090733, win 62370, options [mss 8910,sackOK,TS val 1403739006 ecr 0,nop,wscale 7], length 0
We can see clusterIP
does not return anything.
I use flannel vXLAN and ipvs
mode.
This only happens on this node, the other node has no such problem.
Please help, thanks.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (6 by maintainers)
====