Skip to content

pkg/kube: support nested dialers#502

Merged
chrisseto merged 1 commit intomainfrom
chris/p/nested-dialers
Mar 7, 2025
Merged

pkg/kube: support nested dialers#502
chrisseto merged 1 commit intomainfrom
chris/p/nested-dialers

Conversation

@chrisseto
Copy link
Contributor

Prior to this commit it was not possible to nest PodDialer instances due to design choices of Kubernetes' spdy package.

This commit re-implements spdy.RoundTripperFor with support for overriding the Dialer used by the SPDY upgrader in favor of HTTP proxy support. This allows us to easily run the PodDialer over other tunnelling mechanisms.

Prior to this commit it was not possible to nest PodDialer instances due to
design choices of Kubernetes' spdy package.

This commit re-implements `spdy.RoundTripperFor` with support for overriding
the Dialer used by the SPDY upgrader in favor of HTTP proxy support. This
allows us to easily run the PodDialer over other tunnelling mechanisms.
@chrisseto chrisseto force-pushed the chris/p/nested-dialers branch from 091974c to ca4c4a7 Compare March 7, 2025 16:10
@chrisseto chrisseto enabled auto-merge (rebase) March 7, 2025 16:11
@chrisseto chrisseto merged commit 926249b into main Mar 7, 2025
11 checks passed
@chrisseto
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
release/v2.3.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@chrisseto chrisseto deleted the chris/p/nested-dialers branch March 10, 2025 21:02
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.

2 participants