Skip to content

Commit 40328f2

Browse files
authored
Merge pull request #92756 from JoeAldinger/OCPBUGS55471-4.16
OCPBUGS55471-4.16:adds external IP to migration docs
2 parents fcde897 + 729439c commit 40328f2

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

modules/nw-external-ip-ovn-k.adoc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Module included in the following assemblies:
2+
// * networking/ovn_kubernetes_network_provider/migrate-from-openshift-sdn.adoc
3+
4+
:_mod-docs-content-type: REFERENCE
5+
[id="nw-external-ip-ovn-k_{context}"]
6+
= Understanding changes to external IP behavior in OVN-Kubernetes
7+
8+
When migrating from OpenShift SDN to OVN-Kubernetes (OVN-K), services that use external IPs might become inaccessible across namespaces due to network policy enforcement.
9+
10+
In OpenShift SDN, external IPs were accessible across namespaces by default. However, in OVN-K, network policies strictly enforce multitenant isolation, preventing access to services exposed via external IPs from other namespaces.
11+
12+
To ensure access, consider the following alternatives:
13+
14+
* Use an ingress or route: Instead of exposing services by using external IPs, configure an ingress or route to allow external access while maintaining security controls.
15+
16+
* Adjust the `NetworkPolicy` custom resource (CR): Modify a `NetworkPolicy` CR to explicitly allow access from required namespaces and ensure that traffic is allowed to the designated service ports. Without explicitly allowing traffic to the required ports, access might still be blocked, even if the namespace is allowed.
17+
18+
* Use a `LoadBalancer` service: If applicable, deploy a `LoadBalancer` service instead of relying on external IPs. For more information about configuring see "NetworkPolicy and external IPs in OVN-Kubernetes".

networking/ovn_kubernetes_network_provider/migrate-from-openshift-sdn.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,10 @@ include::modules/nw-network-plugin-migration-process.adoc[leveloffset=+2]
130130

131131
// Migrating to the OVN-Kubernetes network plugin by using the offline migration method
132132
include::modules/nw-ovn-kubernetes-migration.adoc[leveloffset=+2]
133+
134+
//External IP behavior difference between SDN and OVN-K
135+
include::modules/nw-external-ip-ovn-k.adoc[leveloffset=+1]
136+
137+
[role="_additional-resources"]
138+
.Additional resources
139+
* xref:../../networking/network_security/network_policy/about-network-policy.adoc#nw-networkpolicy-external-ip-ovn_about-network-policy[NetworkPolicy and external IPs in OVN-Kubernetes].

0 commit comments

Comments
 (0)