[root@rstx-242 ~]# kubectl get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
nginx-ds-ksr4b 1/1 Running 0 18m 172.7.2.2 rstx-244 <none> <none>
nginx-ds-rfpjv 1/1 Running 0 18m 172.7.1.22 rstx-243 <none> <none>
[root@rstx-242 ~]# ping 172.7.2.2
PING 172.7.2.2 (172.7.2.2) 56(84) bytes of data.
^C
--- 172.7.2.2 ping statistics ---
30 packets transmitted, 0 received, 100% packet loss, time 28999ms
经检查是FORWARD链入口没有打开
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
iptables -L -n