-
Notifications
You must be signed in to change notification settings - Fork 192
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-48383: Add support for IdleCloseTerminationPolicy #1183
[release-4.18] OCPBUGS-48383: Add support for IdleCloseTerminationPolicy #1183
Conversation
frobware
commented
Jan 14, 2025
- test/http2: enhance response handlers
- OCPBUGS-48383: DO NOT MERGE: vendor github.com/frobware/api
- OCPBUGS-43745: Add support for idle connection termination policy
- deployment_test.go: 4.18 conflicts
Enhanced response handlers (`/` and `/healthz`) to include pod-specific headers (`x-pod-name` and `x-pod-namespace`). Introduced new environment variables to control HTTP and HTTPS listeners: - `HTTP2_TEST_SERVER_ENABLE_HTTP_LISTENER`: Enables/disables the HTTP listener. - `HTTP2_TEST_SERVER_ENABLE_HTTPS_LISTENER`: Enables/disables the HTTPS listener. Improved error handling to log and terminate if no listeners are enabled, providing flexibility in determining which listeners to activate.
Picking up: openshift/api#2146 Vendor steps: $ go mod edit -replace github.com/openshift/api=github.com/frobware/api@2d7c828eaefe393b7908cc762b8b772ffd04f3db $ go mod tidy $ go mod vendor $ make update
Introduce logic in desiredRouterDeployment to set the environment variable `ROUTER_IDLE_CLOSE_ON_RESPONSE` when the `IdleConnectionTerminationPolicy` field in the IngressController spec is set to `Deferred`. This change enables configuring HAProxy with the `idle-close-on-response` option for better control over idle connection termination behaviour.
@frobware: This pull request references Jira Issue OCPBUGS-48383, which is invalid:
Comment 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator penshift/router#647 |
@frobware,
|
/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator openshift/router#647 |
/retest-required |
@frobware: The following tests failed, say
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. |
This 4.18 backport needs to be reworked based on #1166 (comment). |
@frobware: This pull request references Jira Issue OCPBUGS-48383. The bug has been updated to no longer 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. |