Skip to content

Commit ffc2064

Browse files
committed
Add release note for BGP routing
- https://issues.redhat.com/browse/OSDOCS-10810
1 parent 59a5937 commit ffc2064

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

release_notes/ocp-4-18-release-notes.adoc

+46
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,52 @@ With this release, you can configure a multi-network policy for the following ne
852852

853853
For more information, see xref:../networking/multiple_networks/secondary_networks/configuring-multi-network-policy.adoc[Configuring multi-network policy]
854854

855+
[id="ocp-4-18-support-for-bgp-routing-protocol_{context}"]
856+
==== Support for the BGP routing protocol
857+
858+
The Cluster Network Operator (CNO) now supports enabling Border Gateway Protocol (BGP) routing. With BGP, you can import and export routes to the underlying provider network and utilize multi-homing, link redundancy, and fast convergence. BGP configuration is managed with the `BGPConfiguration` custom resource (CR).
859+
860+
When upgrading from an earlier version of {product-title} with the Metal LB Operator deployed, you must manually migrate your custom frr-k8s configurations from the `metallb-system` namespace to the `openshift-frr-k8s` namespace. To move these CRs, enter the following commands:
861+
862+
. To create the `openshift-frr-k8s` namespace, enter the following command:
863+
+
864+
[source,terminal]
865+
----
866+
$ oc create namespace openshift-frr-k8s
867+
----
868+
869+
. To automate the migration, create a `migrate.sh` with the following content:
870+
+
871+
[source,bash]
872+
----
873+
#!/bin/bash
874+
875+
OLD_NAMESPACE="metallb-system"
876+
NEW_NAMESPACE="openshift-frr-k8s"
877+
FILTER_OUT="metallb-"
878+
879+
oc get frrconfigurations.frrk8s.metallb.io -n "${OLD_NAMESPACE}" -o json |\
880+
jq -r '.items[] | select(.metadata.name | test("'"${FILTER_OUT}"'") | not)' |\
881+
jq -r '.metadata.namespace = "'"${NEW_NAMESPACE}"'"' |\
882+
oc create -f -
883+
----
884+
885+
. To execute the migration, run the following command:
886+
+
887+
[source,terminal]
888+
----
889+
$ bash migrate.sh
890+
----
891+
892+
. To confirm that the migration succeeded, run the following command:
893+
+
894+
[source,terminal]
895+
----
896+
$ oc get frrconfigurations.frrk8s.metallb.io -n openshift-frr-k8s
897+
----
898+
899+
For more information, see xref:../networking/bgp_routing/about-bgp-routing.adoc#about-bgp-routing[About BGP routing].
900+
855901
[id="ocp-release-notes-networking-whitelist-blacklist-annotation-updated-allowlist-denylist_{context}"]
856902
==== Updated terminology for whitelist and blacklist annotations
857903
The terminology for the `ip_whitelist` and `ip_blacklist` annotations have been updated to `ip_allowlist` and `ip_denylist`, respectively. Currently, {product-title} still supports the `ip_whitelist` and `ip_blacklist` annotations. However, these annotations are planned for removal in a future release.

0 commit comments

Comments
 (0)