EXTERNAL-IP
目前在项目中遇到,还没有自己测试,怎么部署,应用。
wwy-0 1/1 Running 0 2d4h 192.168.3.230 node01 <none> <none>
wzz-debug-0 1/1 Running 0 9d 192.168.31.69 node02 <none> <none>
yancheng-test-0 1/1 Running 0 10d 192.168.31.68 node03 <none> <none>
yibo-0 1/1 Running 0 22h 192.168.3.64 node01 <none> <none>
zhengynag-0 1/1 Running 0 23h 192.168.3.57 node03 <none> <none>
zlt-csp-test-0 1/1 Running 0 15d 192.168.31.15 node01 <none> <none>
zth-0 1/1 Running 0 37d 192.168.31.105 node02 <none> <none>
zyliao-0 1/1 Running 0 42d 192.168.31.90 node03 <none> <none>
[root@xxx-10-27-0-7 ~]#
pod内网地址与外部连通测试
[root@xxx-xx-xx-x-x ~]# ping 192.168.31.90 -c 4
PING 192.168.31.90 (192.168.31.90) 56(84) bytes of data.
64 bytes from 192.168.31.90: icmp_seq=1 ttl=63 time=0.246 ms
64 bytes from 192.168.31.90: icmp_seq=2 ttl=63 time=0.084 ms
64 bytes from 192.168.31.90: icmp_seq=3 ttl=63 time=0.107 ms
64 bytes from 192.168.31.90: icmp_seq=4 ttl=63 time=0.087 ms
--- 192.168.31.90 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3066ms
rtt min/avg/max/mdev = 0.084/0.131/0.246/0.066 ms
[root@xxx-xx-xx-x-x ~]#
SVC
[root@xx-xx-xx-x-x ~]# kubectl get svc -n kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
chaosblade-webhook-server ClusterIP 192.168.233.213 <none> 443/TCP 45h
coredns-global-dns NodePort 192.168.192.11 <none> 53:53/UDP,53:53/TCP,9153:5859/TCP 268d
coredns-global-dns-lb-tcp LoadBalancer 192.168.233.139 10.27.41.69 53:14458/TCP 268d
coredns-global-dns-lb-udp LoadBalancer 192.168.239.243 10.27.41.69 53:30987/UDP 268d
kube-dns ClusterIP 192.168.192.10 <none> 53/UDP,53/TCP,9153/TCP 101d
kube-prometheus-stack-coredns ClusterIP None <none> 9153/TCP 101d
kube-prometheus-stack-kube-controller-manager ClusterIP None <none> 10252/TCP 101d
kube-prometheus-stack-kube-etcd ClusterIP None <none> 2381/TCP 101d
kube-prometheus-stack-kube-proxy ClusterIP None <none> 10249/TCP 101d
kube-prometheus-stack-kube-scheduler ClusterIP None <none> 10251/TCP 101d
kube-prometheus-stack-kubelet ClusterIP None <none> 10250/TCP,10255/TCP,4194/TCP 101d
[root@xxx-xx-xx-x-x ~]#
svc与外部连通测试
[root@xxx-xx-xx-x-x ~]# ping 10.27.41.69 -c 4
PING 10.27.41.69 (10.27.41.69) 56(84) bytes of data.
64 bytes from 10.27.41.69: icmp_seq=1 ttl=61 time=0.077 ms
64 bytes from 10.27.41.69: icmp_seq=2 ttl=61 time=0.032 ms
64 bytes from 10.27.41.69: icmp_seq=3 ttl=61 time=0.033 ms
64 bytes from 10.27.41.69: icmp_seq=4 ttl=61 time=0.033 ms
--- 10.27.41.69 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3074ms
rtt min/avg/max/mdev = 0.032/0.043/0.077/0.020 ms
[root@xxx-xx-xx-x-x ~]#