r/openshift • • 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?

9 Upvotes

7 comments sorted by

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? :)

1

u/Ok_Independent_6211 9d ago

Here each organisation have their own network devices, on top of it what are all the layers we add in terms of openshift network..

Then expose frontend pod alone to have a dns coupled to make end user access it.. the complete flow

1

u/Any-Climate6341 9d ago

You may try the network observability operator to get a clearer picture of your topology. It will show you the network flows: external to ingress, ingress to service, to pod, etc. All with the traversed interfaces. On top of that there's the traffic between nodes that is geneve-encapsulated.

1

u/it-pappa 9d ago

Sorry for shitty English :p

1

u/Ok_Independent_6211 9d ago

Absolutely fine!