-
Notifications
You must be signed in to change notification settings - Fork 40.7k
Deprecate StreamingConnectionIdleTimeout field, that is not being us… #131992
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
base: master
Are you sure you want to change the base?
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
Hi @lalitc375. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
…d for a long time
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
Previously, there was a PR about remove this flag #122104. |
I am just marking this field deprecated, not removing it. To make it obvious to the users. |
what is the alternative way to configure it today? /ok-to-test |
/retest |
There is stream_idle_timeout in the containerd config, that is also broken if it is greater than 5 secs. containerd/containerd#5563 cc: @aojea |
This had a problem with the implementation and the semantics of the flag didn't match, and also the place to implement it was in the wrong place see #102569 (comment) ... so it is indeed broken and confusing, if users want to implement session timeout the right place should be in the client that is able to do per session timeouts configurable and proper context support was added some time ago #103177 so it is perfectly possible to implement session timeout client side I can't find now the issue or the discussion but I think there was also a proposal somewhere to add this session timeout to kubectl cc: @seans3 @soltysh /lgtm |
LGTM label has been added. Git tree hash: c6d12a40ad07f8dcd1ffbc0352169666e1f5ad55
|
I can't recall, maybe Sean has. I don't think that specific options is something we'd want to expose, though. Not in kubectl at least, we have other options to timeout the connection. |
/label api-review |
FYI @soltysh this option/flag is a noop in the kubelet 😄 |
/lgtm since this is noop for some time and the replacement will require it's own feature, let's fix this to avoid confusions |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lalitc375, SergeyKanzhelev 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 |
/assign @thockin for api-approvers |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
StreamingConnectionIdleTimeout field has not been used within kubelet for a very long time. The Code which was using this field has been moved to the CRI plugin. This is causing confusion to the user. Explicitly deprecating it.
Special notes for your reviewer:
Does this PR introduce a user-facing change?