Skip to content

Commit 7165210

Browse files
committed
Add release note for BGP routing
- https://issues.redhat.com/browse/OSDOCS-10810
1 parent 8388bb8 commit 7165210

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,52 @@ Starting in {product-title} 4.14, Extended Update Support (EUS) is extended to t
439439
[id="ocp-release-notes-networking_{context}"]
440440
=== Networking
441441

442+
[id="ocp-4-19-support-for-bgp-routing-protocol_{context}"]
443+
==== Support for the BGP routing protocol
444+
445+
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 use multi-homing, link redundancy, and fast convergence. BGP configuration is managed with the `FRRConfiguration` custom resource (CR).
446+
447+
When upgrading from an earlier version of {product-title} in which you installed the MetalLB Operator, 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:
448+
449+
. To create the `openshift-frr-k8s` namespace, enter the following command:
450+
+
451+
[source,terminal]
452+
----
453+
$ oc create namespace openshift-frr-k8s
454+
----
455+
456+
. To automate the migration, create a `migrate.sh` file with the following content:
457+
+
458+
[source,bash]
459+
----
460+
#!/bin/bash
461+
OLD_NAMESPACE="metallb-system"
462+
NEW_NAMESPACE="openshift-frr-k8s"
463+
FILTER_OUT="metallb-"
464+
oc get frrconfigurations.frrk8s.metallb.io -n "${OLD_NAMESPACE}" -o json |\
465+
jq -r '.items[] | select(.metadata.name | test("'"${FILTER_OUT}"'") | not)' |\
466+
jq -r '.metadata.namespace = "'"${NEW_NAMESPACE}"'"' |\
467+
oc create -f -
468+
----
469+
470+
. To run the migration script, enter the following command:
471+
+
472+
[source,terminal]
473+
----
474+
$ bash migrate.sh
475+
----
476+
477+
. To verify that the migration succeeded, enter the following command:
478+
+
479+
[source,terminal]
480+
----
481+
$ oc get frrconfigurations.frrk8s.metallb.io -n openshift-frr-k8s
482+
----
483+
484+
After the migration is complete, you can remove the `FRR-K8s` custom resources from the `metallb-system` namespace.
485+
486+
For more information, see x!ref:../networking/bgp_routing/about-bgp-routing.adoc#about-bgp-routing[About BGP routing].
487+
442488
[id="ocp-4-19-networking-gateway-api-controller_{context}"]
443489
==== Support for using the Gateway API to configure cluster Ingress traffic
444490
We will have details here when {product-title} {product-version} is released.

0 commit comments

Comments
 (0)