-
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-48377: Add support for IdleConnectionTerminationPolicy #1188
base: release-4.18
Are you sure you want to change the base?
[release-4.18] OCPBUGS-48377: Add support for IdleConnectionTerminationPolicy #1188
Conversation
@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. |
[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 |
/hold Hold until openshift/api#2178 and openshift/router#647 merged. |
1173bef
to
d852c08
Compare
/testwith e2e-aws-operator openshift/router#647 |
@alebedev87,
|
/testwith openshift/cluster-ingress-operator/master/e2e-aws-operator openshift/router#647 |
@alebedev87,
|
/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator openshift/router#647 |
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.
Vendor openshift/api module to get `idleConnectionTerminationPolicy` field of IngressController API. Vendor steps: go mod edit -replace github.com/openshift/api=github.com/openshift/[email protected] 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.
… DCM feature gate is enabled The DCM enabled router returns 503 error after a service change on a route when idle-close-on-response option is enabled and the client reuses connections. Ref: https://issues.redhat.com/browse/OCPBUGS-48560.
d852c08
to
d11f6b6
Compare
/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator openshift/router#647 |
@alebedev87: 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. |
/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator openshift/router#647 Deprovisioning failed. |
/label qe-approved |
@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. |
Manual cherry pick of #1182 and #1186.