-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OCPBUGS-46042: Swapped out Shared Gateway Mode for routingViaHost #98723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -15,19 +15,18 @@ EgressIP routes: Routes to EgressIPs | |||||
|
||||||
With route advertisements enabled, the OVN-Kubernetes network plugin supports advertising network routes for the default pod network and cluster user-defined (CUDN) networks to the provider network, including EgressIPs, and importing routes from the provider network to the default pod network and CUDNs. From the provider network, IP addresses advertised from the default pod network and CUDNs can be reached directly. | ||||||
|
||||||
For example, you can import routes to the default pod network so you no longer need to manually configure routes on each node. Previously, you might have been using local gateway mode (`RoutingViaHost=true`) and manually configuring routes on each node to approximate a similar configuration. With route advertisements you can accomplish this seamlessly and you can use shared gateway mode (`RoutingViaHost=false`) as well. | ||||||
For example, you can import routes to the default pod network so you no longer need to manually configure routes on each node. Previously, you might have been setting the `routingViaHost` parameter to `true` and manually configuring routes on each node to approximate a similar configuration. With route advertisements you can accomplish this task seamlessly with `routingViaHost` parameter set to `false`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change for later?
Suggested change
|
||||||
|
||||||
You could also set the `routingViaHost` parameter to `true` in the `Network` custom resource CR for your cluster, but you must then manually configure routes on each node to simulate a similar configuration. When you enable route advertisements, you can set `routingViaHost=false` in the `Network` CR without having to then manually configure routes one each node. | ||||||
|
||||||
Route reflectors on the provider network are supported and can reduce the number of BGP connections required to advertise routes on large networks. | ||||||
|
||||||
If you use EgressIPs with route advertisements enabled, the layer 3 provider network is aware of EgressIP failovers. This allows you to locate cluster nodes that host EgressIPs on different layer 2 segments whereas before only the layer 2 provider network was aware so that required all the egress nodes to be on the same layer 2 segment. | ||||||
If you use EgressIPs with route advertisements enabled, the layer 3 provider network is aware of EgressIP failovers. This means that you can locate cluster nodes that host EgressIPs on different layer 2 segments whereas before only the layer 2 provider network was aware so that required all the egress nodes to be on the same layer 2 segment. | ||||||
|
||||||
[id="supported-platforms_{context}"] | ||||||
== Supported platforms | ||||||
|
||||||
Advertising routes with border gateway protocol (BGP) is supported on the following infrastructure types: | ||||||
|
||||||
- Bare-metal | ||||||
//- {vmw-full} on-premise | ||||||
Advertising routes with border gateway protocol (BGP) is supported on the bare-metal infrastructure type. | ||||||
|
||||||
[id="infrastructure-requirements_{context}"] | ||||||
== Infrastructure requirements | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -144,7 +144,7 @@ spec: | |||||
nodeSelector: {} | ||||||
---- | ||||||
|
||||||
When the OVN-Kubernetes controller sees this `RouteAdvertisements` CR, it generates generates further `FRRConfiguration` objects based on the selected ones that configure the FRR daemon to advertise the routes. The following example is of one such configuration object, with the number of `FRRConfiguration` objects created depending on the node and networks selected. | ||||||
When the OVN-Kubernetes controller sees this `RouteAdvertisements` CR, it generates further `FRRConfiguration` objects based on the selected ones that configure the FRR daemon to advertise the routes. The following example is of one such configuration object, with the number of `FRRConfiguration` objects created depending on the node and networks selected. | ||||||
|
||||||
.An example of a `FRRConfiguration` CR generated by OVN-Kubernetes | ||||||
[source,yaml] | ||||||
|
@@ -211,7 +211,7 @@ Blue CUDN:: | |||||
|
||||||
[NOTE] | ||||||
==== | ||||||
This approach is available only when you use OVN-Kubernetes in local gateway mode by setting `routingViaHost=true`. | ||||||
This approach is available only when you set `routingViaHost=true` in the `ovnKubernetesConfig.gatewayConfig` specification of the OVN-Kubernetes network plugin. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change for later?
Suggested change
|
||||||
==== | ||||||
|
||||||
In the following configuration, an additional `FRRConfiguration` CR configures peering with the PE router on the blue and red VLANs: | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -30,7 +30,7 @@ An alternate load balancer implementation must be used if this is a requirement | |||||
|
||||||
Engineering considerations:: | ||||||
* MetalLB is used in BGP mode only for telco core use models. | ||||||
* For telco core use models, MetalLB is supported only with the OVN-Kubernetes network provider used in local gateway mode. | ||||||
* For telco core use models, MetalLB is supported only when you set `routingViaHost=true` in the `ovnKubernetesConfig.gatewayConfig` specification of the OVN-Kubernetes network plugin. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
See `routingViaHost` in "Cluster Network Operator". | ||||||
* BGP configuration in MetalLB is expected to vary depending on the requirements of the network and peers. | ||||||
** You can configure address pools with variations in addresses, aggregation length, auto assignment, and so on. | ||||||
|
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.