-
Notifications
You must be signed in to change notification settings - Fork 530
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
[release-4.18] OCPBUGS-48377: Add IdleConnectionTerminationPolicy field to IngressControllerSpec #2178
[release-4.18] OCPBUGS-48377: Add IdleConnectionTerminationPolicy field to IngressControllerSpec #2178
Conversation
Add an `IdleConnectionTerminationPolicy` field to control whether HAProxy keeps idle frontend connections open during a soft stop (router reload). Allow users to prevent errors in clients or load balancers that do not properly handle connection resets. This commit is based on openshift#2102 with a key in the default value. For OCP versions <= 4.18, the default is `Deferred`, aligning with older releases where HAProxy’s `idle-close-on-response` option was added unconditionally.
Hello @alebedev87! Some important instructions when contributing to openshift/api: |
@alebedev87: This pull request references Jira Issue OCPBUGS-48377, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alebedev87, JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@alebedev87: 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. |
go mod edit -replace github.com/openshift/api=github.com/alebedev87/api@4-18-idle-conn-termination-policy go mod tidy go mod vendor make update
/label cherry-pick-approved |
/label backport-risk-assessed |
d15841b
into
openshift:release-4.18
@alebedev87: Jira Issue OCPBUGS-48377: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-48377 has not been moved to the MODIFIED state. In response to this:
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. |
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-config-api |
Vendor openshift/api module to get `idleConnectionTerminationPolicy` field of IngressController API. Vendor steps: go mod edit -replace github.com/openshift/api=github.com/openshift/api@v0.0.0-20250129180039-d15841be6bde go mod tidy go mod vendor make update
Vendor openshift/api module to get `idleConnectionTerminationPolicy` field of IngressController API. Vendor steps: go mod edit -replace github.com/openshift/api=github.com/openshift/api@v0.0.0-20250129180039-d15841be6bde go mod tidy go mod vendor make update
/cherry-pick release-4.17 |
@alebedev87: #2178 failed to apply on top of branch "release-4.17":
In response to this:
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. |
Vendor openshift/api module to get `idleConnectionTerminationPolicy` field of IngressController API. Vendor steps: go mod edit -replace github.com/openshift/api=github.com/openshift/api@v0.0.0-20250129180039-d15841be6bde go mod tidy go mod vendor make update
Add an
IdleConnectionTerminationPolicy
field to control whether HAProxy keeps idle frontend connections open during a soft stop (router reload). Allow users to prevent errors in clients or load balancers that do not properly handle connection resets.This PR is a manual cherry-pick of #2102 with a key difference in the default value. For OCP versions <= 4.18, the default is
Deferred
, aligning with older releases where HAProxy’sidle-close-on-response
option was added unconditionally.