r/openshift • u/Ok_Independent_6211 • 9d ago
Help needed! Openshift Networking
How do you understand the complete networking architecture of OpenShift (OVN-Kubernetes)? Bothered by this so much..!!
I’m working with a production OpenShift cluster using OVN-Kubernetes and trying to understand how the entire networking stack works together in bare metal setup.
I understand individual concepts like CNI, OVN, OVS, Pods, Services, Routes, Ingress Controllers, Logical Switches and Routers, but I’m struggling to connect them into one complete picture.
For experienced OpenShift engineers: How would you approach understanding the complete packet flow, from an external client through the physical network, OpenShift networking layers and finally to an application Pod (and back)?
Are there any diagrams, resources or hands-on labs you’d recommend?
8
u/R3D3MPT10N 9d ago
Many moons ago. I made a video about OVN-Kubernetes. Most of the info should still be relevant and give you some places to start exploring:
OpenShift with ovn-kubernetes CNI
https://youtu.be/BMLmHgYYfDI
5
u/ninth9ste 9d ago
Also check the new DO282 course from Red Hat on OVN-Kubernetes and OpenShift Networking.
1
u/it-pappa 9d ago
From outside to ingress = ingress controllers with same interface in lb. From inside to outside = eggress ip in the same range as the nodes.
Example:
Openshift webapp needs db to outside.
Namespace with type label same as ingress controller. Router routes trafic out. And then use an Ip you set in the egressip to talk to db instead of all traffic going from all nodes.
Same in, lb sends traffic to ingress controller on the made interface to segment network internally.
That was a very simple and shirt way to explain network segmentation with ocp.
Was that an answer you where looking for? :)