Closed 4680185 closed 5 years ago
I have a openshift cluster there are three nodes , and I have to pods on the different nodes , the detail as follows
[root@master1 ~]# oc get pods -o wide NAME READY STATUS RESTARTS AGE IP NODE busybox-1-ugd66 1/1 Running 0 2d 10.130.2.19 node3.example.com nginx-1-h9i99 1/1 Running 0 3d 10.131.0.20 node2.example.com nginx-1-poo9l 1/1 Running 0 3d 10.130.2.18 node3.example.com nginx-1-rz9g8 1/1 Running 0 3d 10.128.2.5 node4.example.com [root@master1 ~]#
[root@master1 ~]# oc get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE nginx 172.30.41.165 80/TCP 2d
then when i run command
[root@master1 ~]# oc exec busybox-1-ugd66 -- wget http://172.30.41.165 Connecting to 172.30.41.165 (172.30.41.165:80) wget: can't open 'index.html': File exists [root@master1 ~]#
and i tcpdump tun0 the result as follows
then my question is that how the openshift-sdn process the pod to serviceip request ? what happened in tun0 and vxlan0 ?
I have a openshift cluster there are three nodes , and I have to pods on the different nodes , the detail as follows
[root@master1 ~]# oc get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE busybox-1-ugd66 1/1 Running 0 2d 10.130.2.19 node3.example.com nginx-1-h9i99 1/1 Running 0 3d 10.131.0.20 node2.example.com nginx-1-poo9l 1/1 Running 0 3d 10.130.2.18 node3.example.com nginx-1-rz9g8 1/1 Running 0 3d 10.128.2.5 node4.example.com [root@master1 ~]#
[root@master1 ~]# oc get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE nginx 172.30.41.165 80/TCP 2d
then when i run command
[root@master1 ~]# oc exec busybox-1-ugd66 -- wget http://172.30.41.165 Connecting to 172.30.41.165 (172.30.41.165:80) wget: can't open 'index.html': File exists [root@master1 ~]#
and i tcpdump tun0 the result as follows
then my question is that how the openshift-sdn process the pod to serviceip request ? what happened in tun0 and vxlan0 ?