Skip to content

Add support for Kubernetes websocket subprotocol v5 incoming connections.#39755

Merged
AntonAM merged 1 commit intomasterfrom
anton/kube-wsv5-incoming
Mar 25, 2024
Merged

Add support for Kubernetes websocket subprotocol v5 incoming connections.#39755
AntonAM merged 1 commit intomasterfrom
anton/kube-wsv5-incoming

Conversation

@AntonAM
Copy link
Copy Markdown
Contributor

@AntonAM AntonAM commented Mar 24, 2024

This PR adds support for receiving requests for new websocket streaming subprotocol v5. Kubernetes team is deprecating SPDY protocol for streaming commands (exec, attach, port forward) and adding websocket based subprotocol v5. They released it as alpha in Kubernetes version 1.29 and it will be default in 1.30. Port forwarding migration to websocket was delayed, currently alpha is planned for 1.30.

We leave using subprotocol v5 within Teleport (and to target Kubernetes clusters) to a further PR ( #39337 ) that will not be backported to v15, while this PR will be backported to versions 15 and 14, making them be able to work with kubectl using subprotocol v5.

Changelog: Add support for Kubernetes websocket streaming subprotocol v5 connections.

@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@AntonAM AntonAM requested review from lxea and tigrato March 24, 2024 22:39
@AntonAM AntonAM added this pull request to the merge queue Mar 25, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 25, 2024
@AntonAM AntonAM added this pull request to the merge queue Mar 25, 2024
Merged via the queue into master with commit d087a17 Mar 25, 2024
@AntonAM AntonAM deleted the anton/kube-wsv5-incoming branch March 25, 2024 13:40
@public-teleport-github-review-bot
Copy link
Copy Markdown

@AntonAM See the table below for backport results.

Branch Result
branch/v13 Failed
branch/v14 Create PR
branch/v15 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants