Skip to content

Add support for WebSocket for retrieval - #2033

Open
masap wants to merge 1 commit into
vmware-tanzu:mainfrom
masap:fix-2032
Open

masap wants to merge 1 commit into
vmware-tanzu:mainfrom
masap:fix-2032

Conversation

@masap

@masap masap commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Sonobuoy uses SPDY to retrieve results, but SPDY is already deprecated [1], and some of my customers block SPDY. Kubernetes migrated from SPDY to WebSocket starting with version 1.31 [2]. Therefore, we will also introduce WebSocket for sonobuoy. To maintain backward compatibility, it will fallback to SPDY if the WebSocket connection fails.

[1] https://en.wikipedia.org/wiki/SPDY
[2] https://kubernetes.io/blog/2024/08/20/websockets-transition/

Which issue(s) this PR fixes

Special notes for your reviewer:

Release note:

Add support for WebSocket for retrieval

@masap
masap force-pushed the fix-2032 branch 2 times, most recently from 3118719 to c4f5ef7 Compare November 18, 2025 07:10
@masap

masap commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

Hello @farazkhawaja could you review this PR as well? We are currently using SPDY for sonobuoy, but since SPDY is deprecated, I implemented an alternative.

@masap

masap commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

This was apporved by @farazkhawaja and I fixed CI error. Could anybody merge this?

Sonobuoy uses SPDY to retrieve results, but SPDY is already deprecated [1], and
some of my customers block SPDY. Kubernetes migrated from SPDY to WebSocket
starting with version 1.31 [2]. Therefore, we will also introduce WebSocket for
sonobuoy. To maintain backward compatibility, it will fallback to SPDY if the
WebSocket connection fails.

[1] https://en.wikipedia.org/wiki/SPDY
[2] https://kubernetes.io/blog/2024/08/20/websockets-transition/

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
@masap

masap commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@ShashankGirish Hello. Could you review this PR as well? Current sonobuoy is using SPDY to download result but SPDY is deprecated. We need to migrate to WebSocket.

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.

Add support for WebSocket for retrieval

2 participants