Notes on Learning Open VSwitch in Openshift OKD
Background Open VSwitch or ovs is the software that openshift used to ensure pods in the openshift cluster could talk to each other using cluster-internal IP addresses. In default settings, hosts outside the cluster are not be able to connect directly to pods; and haproxy (running in 'openshift router' pods) sofware listening on host port is doing the work of distributing http request into each and every application's pods. In order to follow this blog post you will need root-level OS access on the hosts / openshift nodes, so it is geared towards system administrator of the openshift platform, not the casual application developer. Examining OVS bridge [root@node3 ~]# ovs-vsctl list-br br0 So we know the OVS bridge is named br0. [root@node1 ~]# ovs-ofctl -O OpenFlow13 dump-ports-desc br0 OFPST_PORT_DESC reply (OF1.3) (xid=0x2): 1(vxlan0): addr:62:b2:af:23:90:ea config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 2(tun0): addr:b2:23:c3:0f:e4:56 c