Skip to content

[RS-2690] Doc OpenShift restriction of Gateway API CRDs #2205

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nelljerram
Copy link
Member

No description provided.

@nelljerram nelljerram requested a review from a team as a code owner July 31, 2025 17:29
Copy link

netlify bot commented Jul 31, 2025

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 7414ecd
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/688ba7f8c40a070008feaee6
😎 Deploy Preview https://deploy-preview-2205--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 31, 2025

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7414ecd
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/688ba7f8f013580008494f87
😎 Deploy Preview https://deploy-preview-2205--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 22 (🔴 down 5 from production)
Accessibility: 90 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@ctauchen
Copy link
Collaborator

@nelljerram Thanks for this. A few questions:

  • Are these CRDs unrestricted for earlier versions? Like 4.18?
  • Do we have an idea of what happens for upcoming versions, like 4.20?

@nelljerram
Copy link
Member Author

@ctauchen

  • Yes
  • No

I have tried to avoid creating a maintenance burden here - i.e. to write something that has a chance of remaining true when future versions come out. But perhaps that can be done in a better way; please LMK your thoughts.

@@ -31,6 +31,12 @@ The Gateway API is an official Kubernetes API for advanced routing to services i
| TLSRoute | v1alpha2 |
| UDPRoute | v1alpha2 |

:::note

Some versions of OpenShift (currently just 4.19) restrict the Gateway API CRDs that may be installed: only `GatewayClass`, `Gateway`, `GRPCRoute`, `HTTPRoute` and `ReferenceGrant`. In clusters with those OpenShift versions the `BackendLBPolicy`, `BackendTLSPolicy`, `TCPRoute`, `TLSRoute` and `UDPRoute` APIs will not be available.
Copy link
Collaborator

@ctauchen ctauchen Aug 13, 2025

Choose a reason for hiding this comment

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

How about something like this?

:::note
OpenShift 4.19 introduced restrictions for which the Gateway API CRDs can be installed. This change means that certain APIs are unavailable, a departure from OpenShift 4.18 and earlier, which provided full access to all CRDs.

This table shows which Gateway API CRDs are available for each OpenShift version.

| Gateway API CRD | OpenShift 4.18 and lower | OpenShift 4.19 |
| :--- | :--- | :--- |
| `GatewayClass` | ✅ Available | ✅ Available |
| `Gateway` | ✅ Available | ✅ Available |
| `GRPCRoute` | ✅ Available | ✅ Available |
| `HTTPRoute` | ✅ Available | ✅ Available |
| `ReferenceGrant` | ✅ Available | ✅ Available |
| `BackendLBPolicy` | ✅ Available | ❌ Not available |
| `BackendTLSPolicy` | ✅ Available | ❌ Not available |
| `TCPRoute` | ✅ Available | ❌ Not available |
| `TLSRoute` | ✅ Available | ❌ Not available |
| `UDPRoute` | ✅ Available | ❌ Not available |

Copy link
Collaborator

Choose a reason for hiding this comment

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

If there's an OpenShift docs page that lists these, best would be to point there. I haven't found one yet.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is on this topic - WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

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

How about something like this?

For me the table is a bit overkill - I feel it will make the page as a whole heavier and give undeserved prominence to OpenShift's choices. But I see a little merit in listing the resources separately from the narrative. Perhaps a good compromise would be a bulleted form like:

  • Available in OpenShift 4.19: GatewayClass, Gateway, GRPCRoute, HTTPRoute and ReferenceGrant.
  • Not available in OpenShift 4.19: BackendLBPolicy, BackendTLSPolicy, TCPRoute, TLSRoute and UDPRoute.

As regards the other wording changes in the narrative, I don't feel that any of them are big wins - but happy to defer to you if you feel strongly that they are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants