November 19, 2024
Accessing the details of the software defined networking features of OpenShift can be helpful for deeper troubleshooting or enhanced understanding. You’ll not find a full explanation of Open Virtual Network or OVN-Kubernetes here, but you will learn how to quickly peer inside and investigate their inner workings.
Open Virtual Network
Open Virtual Switch has been used to power the software defined network on OpenShift within the defunct openshift-sdn CNI for quite some time. Now Open Virtual Network provides a higher level abstraction and orchestration of network features including virtual switches, routers, load balancers, and more via the ovn-kubernetes CNI.
Demo: Access OVN Northbound Database
Here is the ovncli
script used above:
Visualizing The Network
We won’t go any deeper here, but here is vizualization of the network resources at a host level which hints at how nodes are connected via geneve tunnels accessbile via the transit switch. More on all this in another post.
Summary
OpenShift uses OVN-Kuberenets as the CNI which enables a very flexible if not complex network architecture. It can be helpful to peer inside at times, and this post gave you a cheat sheet to do just that.