Skip to content

Commit e914a4e

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

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,52 @@ For more information, see xref:../machine_management/cluster_api_machine_managem
589589
[id="ocp-release-notes-networking_{context}"]
590590
=== Networking
591591

592+
[id="ocp-4-18-support-for-bgp-routing-protocol_{context}"]
593+
==== Support for the BGP routing protocol
594+
595+
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).
596+
597+
When upgrading from an earlier version of {product-title}, you must manually migrate your frr-k8s configurations from the `metallb-system` namespace to the `openshift-frr-k8s` namespace. To move these CRs, enter the following commands:
598+
599+
. To create the `openshift-frr-k8s` namespace, enter the following command:
600+
+
601+
[source,terminal]
602+
----
603+
$ oc create namespace openshift-frr-k8s
604+
----
605+
606+
. To automate the migration, create a `migrate.sh` with the following content:
607+
+
608+
[source,bash]
609+
----
610+
#!/bin/bash
611+
612+
OLD_NAMESPACE="metallb-system"
613+
NEW_NAMESPACE="openshift-frr-k8s"
614+
FILTER_OUT="metallb-"
615+
616+
oc get frrconfigurations.frrk8s.metallb.io -n "${OLD_NAMESPACE}" -o json |\
617+
jq -r '.items[] | select(.metadata.name | test("'"${FILTER_OUT}"'") | not)' |\
618+
jq -r '.metadata.namespace = "'"${NEW_NAMESPACE}"'"' |\
619+
oc create -f -
620+
----
621+
622+
. To execute the migration, run the following command:
623+
+
624+
[source,terminal]
625+
----
626+
$ bash migrate.sh
627+
----
628+
629+
. To confirm that the migration succeeded, run the following command:
630+
+
631+
[source,terminal]
632+
----
633+
$ oc get frrconfigurations.frrk8s.metallb.io -n openshift-frr-k8s
634+
----
635+
636+
For more information, see xref:../networking/bgp_routing/about-bgp-routing.adoc#about-bgp-routing[About BGP routing].
637+
592638
[id="ocp-release-notes-networking-whitelist-blacklist-annotation-updated-allowlist-denylist_{context}"]
593639
==== Updated terminology for whitelist and blacklist annotations
594640
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)