Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
Loading
from

Conversation

lalitc375
Copy link
Contributor

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?

Deprecate StreamingConnectionIdleTimeout field of the kubelet config. 

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels May 27, 2025
Copy link

linux-foundation-easycla bot commented May 27, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: lalitc375 / name: Lalit Chauhan (00b4498)

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels May 27, 2025
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 27, 2025
@k8s-ci-robot
Copy link
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 27, 2025
@k8s-ci-robot k8s-ci-robot requested review from justinsb and roycaihw May 27, 2025 23:43
@k8s-ci-robot k8s-ci-robot added area/code-generation area/kubelet kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API sig/node Categorizes an issue or PR as relevant to SIG Node. labels May 27, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 27, 2025
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels May 27, 2025
@lalitc375 lalitc375 changed the title Deperecate StreamingConnectionIdleTimeout field, that is not being us… Deprecate StreamingConnectionIdleTimeout field, that is not being us… May 27, 2025
@k8s-triage-robot
Copy link

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.

@pacoxu
Copy link
Member

pacoxu commented May 28, 2025

Previously, there was a PR about remove this flag #122104.

/cc @saschagrunert @haircommander

@lalitc375
Copy link
Contributor Author

Previously, there was a PR about remove this flag #122104.

/cc @saschagrunert @haircommander

I am just marking this field deprecated, not removing it. To make it obvious to the users.

@SergeyKanzhelev
Copy link
Member

what is the alternative way to configure it today?

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 28, 2025
@lalitc375
Copy link
Contributor Author

/retest

@lalitc375
Copy link
Contributor Author

what is the alternative way to configure it today?

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

@aojea
Copy link
Member

aojea commented May 29, 2025

what is the alternative way to configure it today?

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

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 29, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c6d12a40ad07f8dcd1ffbc0352169666e1f5ad55

@soltysh
Copy link
Contributor

soltysh commented May 29, 2025

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

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.

@soltysh
Copy link
Contributor

soltysh commented May 29, 2025

/label api-review
since this is modifying API, it has to go through the proper review process, I'm going to take the initial stab at it, as an api reviewer shadow

@k8s-ci-robot k8s-ci-robot added the api-review Categorizes an issue or PR as actively needing an API review. label May 29, 2025
pkg/kubelet/apis/config/types.go Show resolved Hide resolved
@aojea
Copy link
Member

aojea commented May 29, 2025

since this is modifying API, it has to go through the proper review process, I'm going to take the initial stab at it, as an api reviewer shadow

FYI @soltysh this option/flag is a noop in the kubelet 😄

@lalitc375 lalitc375 requested a review from soltysh May 30, 2025 16:25
@SergeyKanzhelev SergeyKanzhelev moved this from Triage to Needs Approver in SIG Node: code and documentation PRs May 31, 2025
@SergeyKanzhelev
Copy link
Member

/lgtm
/approve

since this is noop for some time and the replacement will require it's own feature, let's fix this to avoid confusions

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lalitc375, SergeyKanzhelev
Once this PR has been reviewed and has the lgtm label, please assign smarterclayton for approval. For more information see the 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

@aojea
Copy link
Member

aojea commented Jun 1, 2025

/assign @thockin

for api-approvers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review Categorizes an issue or PR as actively needing an API review. area/code-generation area/kubelet cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/node Categorizes an issue or PR as relevant to SIG Node. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

8 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.