Skip to content

Partially revert #30248#31945

Merged
tigrato merged 1 commit intomasterfrom
tigrato/fix-watchers-kube
Sep 15, 2023
Merged

Partially revert #30248#31945
tigrato merged 1 commit intomasterfrom
tigrato/fix-watchers-kube

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Sep 15, 2023

This PR removes the ReadTimeout and WriteTimeout settings from kube/proxy.Server.

The revert is required because both settings were terminating watch streams earlier and causing several issues when parsing the long-lived data stream.

@tigrato tigrato added test-plan-problem Issues which have been surfaced by running the manual release test plan backport/branch/v12 merge-for-v14 labels Sep 15, 2023
@tigrato tigrato requested a review from jentfoo September 15, 2023 13:43
@github-actions github-actions Bot requested review from greedy52 and r0mant September 15, 2023 13:43
@tigrato tigrato mentioned this pull request Sep 15, 2023
@tigrato tigrato added this pull request to the merge queue Sep 15, 2023
@jentfoo
Copy link
Copy Markdown
Contributor

jentfoo commented Sep 15, 2023

Can you confirm that neither timeout is able to be set? It could be worth adding a comment for the next time we stumble on this listener.

@tigrato
Copy link
Copy Markdown
Contributor Author

tigrato commented Sep 15, 2023

Can you confirm that neither timeout is able to be set? It could be worth adding a comment for the next time we stumble on this listener.

Yes. We cannot set any of those parameters.
Added a comment and a check to prevent setting a non-zero ReadTimeout and WriteTimeout

@tigrato tigrato removed this pull request from the merge queue due to a manual request Sep 15, 2023
@tigrato tigrato force-pushed the tigrato/fix-watchers-kube branch from 17f4300 to efad2bf Compare September 15, 2023 14:14
@tigrato tigrato enabled auto-merge September 15, 2023 14:14
@tigrato tigrato added this pull request to the merge queue Sep 15, 2023
@tigrato tigrato removed this pull request from the merge queue due to a manual request Sep 15, 2023
This PR removes the `ReadTimeout` and `WriteTimeout` settings from
`kube/proxy.Server`.

The revert is required because both settings were terminating watch
streams earlier and causing several when parsing the long lived data
stream.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato force-pushed the tigrato/fix-watchers-kube branch from efad2bf to baaa44e Compare September 15, 2023 14:36
@tigrato tigrato enabled auto-merge September 15, 2023 14:36
@tigrato tigrato added this pull request to the merge queue Sep 15, 2023
Merged via the queue into master with commit 85a1a3b Sep 15, 2023
@tigrato tigrato deleted the tigrato/fix-watchers-kube branch September 15, 2023 15:18
@public-teleport-github-review-bot
Copy link
Copy Markdown

@tigrato See the table below for backport results.

Branch Result
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kubernetes-access merge-for-v14 size/sm test-plan-problem Issues which have been surfaced by running the manual release test plan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants