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

OCPBUGS-43745: Add support for IdleCloseTerminationPolicy #1166

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

frobware
Copy link
Contributor

@frobware frobware commented Nov 19, 2024

Introduce logic in desiredRouterDeployment to set the environmentvariable 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.

Requires:

@openshift-ci openshift-ci bot requested review from alebedev87 and Miciah November 19, 2024 15:19
Copy link
Contributor

openshift-ci bot commented Nov 19, 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 changed the title OCPBUGS 43745 idle close on response OCPBUGS:43745: idle close on response Nov 19, 2024
@frobware frobware changed the title OCPBUGS:43745: idle close on response OCPBUGS-43745: idle close on response Nov 19, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 19, 2024
@openshift-ci-robot
Copy link
Contributor

@frobware: This pull request references Jira Issue OCPBUGS-43745, which is invalid:

  • expected the bug to target either version "4.18." or "openshift-4.18.", but it targets "4.19.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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.

@frobware
Copy link
Contributor Author

/hold

Many commits should never merge.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 19, 2024
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from a7dea46 to 991d367 Compare November 20, 2024 15:53
@frobware
Copy link
Contributor Author

/testwith openshift/cluster-ingress-operator/release-4.18/e2e-aws-operator openshift/router#639

Copy link
Contributor

openshift-ci bot commented Nov 20, 2024

@frobware, testwith: could not generate prow job. ERROR:

no ref for requested test included in command

@frobware
Copy link
Contributor Author

/testwith openshift/cluster-ingress-operator/master/e2e-aws-operator openshift/router#639

@frobware frobware changed the title OCPBUGS-43745: idle close on response OCPBUGS-43745: Add support for IdleCloseTerminationPolicy Nov 20, 2024
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 991d367 to 052f6b6 Compare November 20, 2024 19:23
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 052f6b6 to 0aa6244 Compare November 21, 2024 07:47
@frobware
Copy link
Contributor Author

/testwith openshift/cluster-ingress-operator/master/e2e-aws-operator openshift/router#639

@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 0aa6244 to 1072f8f Compare November 21, 2024 08:04
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 27, 2024
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 1072f8f to f89fbb2 Compare December 10, 2024 13:12
Add a `/custom-response` endpoint that returns a configurable response
via the `CUSTOM_RESPONSE` environment variable.
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from f89fbb2 to 9707f72 Compare December 10, 2024 13:44
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 10, 2024
@frobware
Copy link
Contributor Author

/testwith openshift/cluster-ingress-operator/master/e2e-aws-operator openshift/router#639

Pickup openshift/api#2102

$ go mod edit -replace github.com/openshift/api=github.com/frobware/api@000e4bc7faace3e166e649c8bba32db0b1570c13
$ go mod tidy
$ go mod vendor
$ make update
@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 9707f72 to 77673b3 Compare December 10, 2024 14:49
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
Copy link
Contributor Author

/testwith openshift/cluster-ingress-operator/master/e2e-aws-operator openshift/router#639

@frobware frobware force-pushed the OCPBUGS-43745-idle-close-on-response branch from 77673b3 to 3029807 Compare December 10, 2024 15:43
Copy link
Contributor

openshift-ci bot commented Dec 10, 2024

@frobware: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-operator 3029807 link true /test e2e-gcp-operator
ci/prow/okd-scos-e2e-aws-ovn 3029807 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-operator-techpreview 3029807 link false /test e2e-aws-operator-techpreview
ci/prow/e2e-aws-gatewayapi 3029807 link false /test e2e-aws-gatewayapi
ci/prow/e2e-aws-operator 3029807 link true /test e2e-aws-operator
ci/prow/e2e-azure-operator 3029807 link true /test e2e-azure-operator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. 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.

3 participants