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

NE-1444: switch container builds to haproxy28 #556

Conversation

frobware
Copy link
Contributor

@frobware frobware commented Jan 12, 2024

  • haproxy/template: Explicitly enable ALPN for HTTP/2 on SSL listeners
  • NE-1444: container builds: switch to haproxy28 RPM package

This commit introduces explicit ALPN configuration for ingress
controllers with HTTP/2 enabled, focusing on the public fe_sni and
public fe_no_sni listeners.

In HAProxy 2.8.0[1], a significant change was noted:

  "HTTP/2 is now advertised by default in ALPN on TLS listeners. This
  marks a pivotal change, as HTTP/2 has been available for 5 years and
  enabled by default in clear text as an HTTP/1 upgrade for 4 years.
  However, some users were still unaware of how to enable it. Now,
  ALPN will default to 'h2,http/1.1' on TCP and 'h3' on QUIC, ensuring
  these protocol versions work by default. Adjustments to ALPN
  settings remain possible to enable or disable these protocols.
  Furthermore, previous concerns regarding window sizes have been
  resolved by introducing distinct settings for each side (front vs
  back)."

In anticipation of transitioning to HAProxy 2.8 and to align with its
defaults, this commit proactively adds "alpn h2,http/1.1" to the
fe_sni and fe_no_sni listeners whenever HTTP/2 is enabled.

And, importantly, this change also allows us to address two
long-standing test skips in openshift/origin
(test/extended/router/http2). Even without moving to HAProxy 2.8, this
change enables us to resolve these testing issues, enhancing the
reliability and coverage of our test suite for both HAProxy 2.6 and
HAProxy 2.8.

[1] https://www.mail-archive.com/haproxy@formilux.org/msg43600.html
@frobware frobware changed the title NE 1444 switch container builds to haproxy28 NE-1444: switch container builds to haproxy28 Jan 12, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 12, 2024

@frobware: This pull request references NE-1444 which is a valid jira issue.

In response to this:

  • haproxy/template: Explicitly enable ALPN for HTTP/2 on SSL listeners
  • NE-1444: container builds: switch to haproxy28 RPM package

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 12, 2024
Copy link
Contributor

openshift-ci bot commented Jan 12, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from frobware. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@frobware frobware closed this Jan 12, 2024
@frobware frobware deleted the NE-1444-switch-container-builds-to-haproxy28 branch January 12, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants