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

k8s: enable SPDY pings on in/outbound connections #4377

Merged
merged 2 commits into from
Sep 29, 2020
Merged

Conversation

awly
Copy link
Contributor

@awly awly commented Sep 24, 2020

This helps with ELB and similar L5 load balancers that don't respect
TCP-level keep-alives. ELB for example kills connections after 60s of no
application traffic.

With this PR, you can leave a kubectl exec session open indefinitely
without any activity.

There's an unfortunate number of dependencies that had to be bumped to bring kubernetes/kubernetes#94170 in. I couldn't figure out a smaller subset of upgrades.
I suggest you review only the 2nd commit in this PR, the 1st one is all dependencies.

Fixes #3765

@webvictim
Copy link
Contributor

LGTM once the conflicts are fixed.

Andrew Lytvynov added 2 commits September 29, 2020 11:17
This helps with ELB and similar L5 load balancers that don't respect
TCP-level keep-alives. ELB for example kills connections after 60s of no
application traffic.

With this PR, you can leave a `kubectl exec` session open indefinitely
without any activity.
@awly awly merged commit a3d3f2a into master Sep 29, 2020
@awly awly deleted the andrew/k8s-spdy-pings branch September 29, 2020 21:04
Copy link
Contributor

@klizhentas klizhentas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubectl exec session with ELB not respecting keep-alives and session not in UI
4 participants