Skip to content
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

OSDOCS-10810: Add BGP routing #88826

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

jab-rh
Copy link
Contributor

@jab-rh jab-rh commented Feb 18, 2025

Includes BGP only.

Version(s): 4.18.z

Issue:

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

@jab-rh jab-rh added do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. branch/enterprise-4.18 labels Feb 18, 2025
@jab-rh jab-rh added this to the Continuous Release milestone Feb 18, 2025
@jab-rh jab-rh self-assigned this Feb 18, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 18, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 18, 2025

@jab-rh: This pull request references OSDOCS-10810 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

Includes BGP only.

Version(s): 4.18.z

Issue:

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

1 similar comment
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 18, 2025

@jab-rh: This pull request references OSDOCS-10810 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

Includes BGP only.

Version(s): 4.18.z

Issue:

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Feb 18, 2025
@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 18, 2025
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Feb 18, 2025

🤖 Wed Feb 19 20:02:49 - Prow CI generated the docs preview:
https://88826--ocpdocs-pr.netlify.app
Complete list of updated preview URLs: artifacts/updated_preview_urls.txt


BGP routing is supported on the following infrastructure types:

- Bare-metal
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] RedHat.TermsErrors: Use 'bare metal' rather than 'Bare-metal'. For more information, see RedHat.TermsErrors.

@@ -0,0 +1 @@
// omit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] OpenShiftAsciiDoc.ModuleContainsContentType: Module is missing the '_mod-docs-content-type' variable.

Comment on lines +9 to +17
With route advertisements enabled, {product-title} Networking supports the following features:

- Importing routes from the provider network
- Exporting routes into the provider network
- Supporting multi-homing, link redundancy, and fast convergence for provider network gateways
////
https://github.com/openshift/openshift-docs/pull/85842/files#r1900917285
- Improving throughput and reducing packet overhead
////

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove this since it is mentioning the route advertisements feature which is not in scope of this PR.


[IMPORTANT]
====
If you are using the MetalLB Operator, you must manually copy any existing `FRRConfiguration` CRs in the `metallb-system` namespace to the `openshift-frr-k8s` namespace. This includes `FRRConfiguration` CRs created by both cluster administrators and by cluster components.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This includes FRRConfiguration CRs created by both cluster administrators and by cluster components.

This is not accurate. by cluster components might be understood as metallb operator be included in those components,. I might have suggested this but now does not read well to me.

I would rephrase to

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 ensure they are copied to the `openshift-frr-k8s` namespace or that those third-party cluster components use the new namespace

Also had this instruction in case you want to add it

Before upgrading:

Create namespace:

oc create namespace openshift-frr-k8s
Copy FRRConfigurations from old namespace to new namespace
OLD_NAMESPACE="metallb-system"
NEW_NAMESPACE="openshift-frr-k8s"

# don't copy FRRConfigurations starting with 'metallb-' as those are generated
FILTER_OUT="metallb-"

oc get frrconfigurations.frrk8s.metallb.io -n "${OLD_NAMESPACE}"  -o json |\
  jq -r '.items[] | select(.metadata.name | test("'"${FILTER_OUT}"'") | not) |\ 
  jq -r '.metadata.namespace = "'"${NEW_NAMESPACE}"'"' |\
  oc create -f -

Verify the copied FRRConfigurations are present in the new namespace

oc get frrconfigurations.frrk8s.metallb.io -n openshift-frr-k8s

After upgrading and once the cluster is verified to be healthy, the frrconfigurations in the old namespace can be removed.

Comment on lines 13 to 14
//include::modules/nw-bgp-routeadvertisements-object.adoc[leveloffset=+1]
//include::modules/nw-bgp-examples.adoc[leveloffset=+1]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess these two are commented out. nw-bgp-routeadvertisements-object.adoc has an omit but not nw-bgp-examples.adoc. Those are really routeadvertisements examples so they should be omitted as well.


toc::[]

This feature provides native BGP routing capabilities for the cluster. Additionally, this feature must be enabled to use the RouteAdvertisements feature of the OVN-Kubernetes network plugin.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave routeadvertisements out of the PR?

This feature provides native BGP routing capabilities for the cluster.


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.

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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] Vale.Terms: Use 'MetalLB' instead of 'metallb'.


[IMPORTANT]
====
If you are using the MetalLB Operator prior to upgrading to {product-title} 4.18, you must manually copy any existing `FRRConfiguration` CRs in the `metallb-system` namespace to the `openshift-frr-k8s` namespace. This includes `FRRConfiguration` CRs created by both cluster administrators and by cluster components.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] RedHat.TermsErrors: Use 'before' rather than 'prior to'. For more information, see RedHat.TermsErrors.

Copy link

openshift-ci bot commented Feb 19, 2025

@jab-rh: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch/enterprise-4.18 do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants