|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * networking/bgp_routing/about-bgp-routing.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: CONCEPT |
| 6 | +[id="nw-bgp-about_routing_{context}"] |
| 7 | += About Border Gateway Protocol (BGP) routing |
| 8 | + |
| 9 | +{product-title} supports BGP routing through FRRouting (FRR), a free, open source internet routing protocol suite for Linux, UNIX, and similar operating systems. FRR-K8s is a Kubernetes-based daemon set that exposes a subset of the FRR API in a Kubernetes-compliant manner. As a cluster administrator, you can use the `FRRConfiguration` custom resource (CR) to access FRR services. |
| 10 | + |
| 11 | +[id="supported-platforms_{context}"] |
| 12 | +== Supported platforms |
| 13 | + |
| 14 | +BGP routing is supported on the following infrastructure types: |
| 15 | + |
| 16 | +- Bare metal |
| 17 | +- {vmw-full} on-premise |
| 18 | + |
| 19 | +BGP routing requires that you have properly configured BGP for your network provider. Outages or misconfigurations of your network provider might cause disruptions to your cluster network. |
| 20 | + |
| 21 | +[id="considerations-for-use-with-the-metallb-operator_{context}"] |
| 22 | +== Considerations for use with the MetalLB Operator |
| 23 | + |
| 24 | +The MetalLB Operator is installed as an add-on to the cluster. Deployment of the MetalLB Operator automatically enables FRR-K8s as an additional routing capability provider and uses the FRR-K8s daemon installed by this feature. |
| 25 | + |
| 26 | +Before upgrading to 4.18, any existing `FRRConfiguration` in the `metallb-system` namespace not managed by the MetalLB operator (added by a cluster administrator or any other component) needs to be copied to the `openshift-frr-k8s` namespace manually, creating the namespace if necessary. |
| 27 | + |
| 28 | +[IMPORTANT] |
| 29 | +==== |
| 30 | +If you are using the MetalLB Operator and there are existing `FRRConfiguration` CRs in the `metallb-system` namespace created by cluster administrators or third-party cluster components other than MetalLB Operator, you must: |
| 31 | +
|
| 32 | +- Ensure that these existing `FRRConfiguration` CRs are copied to the `openshift-frr-k8s` namespace. |
| 33 | +- Ensure that the third-party cluster components use the new namespace for the `FRRConfiguration` CRs that they create. |
| 34 | +==== |
| 35 | + |
| 36 | +[id="cluster-network-operator_{context}"] |
| 37 | +== Cluster Network Operator configuration |
| 38 | + |
| 39 | +The Cluster Network Operator API exposes the following API field to configure BGP routing: |
| 40 | + |
| 41 | +- `spec.additionalRoutingCapabilities`: Enables deployment of the FRR-K8s daemon for the cluster, which can be used independently of route advertisements. When enabled, the FRR-K8s daemon is deployed on all nodes. |
| 42 | + |
| 43 | +[id="bgp-routing-custom-resources_{context}"] |
| 44 | +== BGP routing custom resources |
| 45 | + |
| 46 | +The following custom resources are used to configure BGP routing: |
| 47 | + |
| 48 | +`FRRConfiguration`:: |
| 49 | +This custom resource defines the FRR configuration for the BGP routing. This CR is namespaced. |
0 commit comments