Skip to content

Commit

Permalink
KEP 4006 docs to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
seans3 committed Feb 22, 2024
1 parent fe2efe0 commit 2c8bbd2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: PortForwardWebsockets
content_type: feature_gate
_build:
list: never
render: false

stages:
- stage: alpha
defaultValue: false
fromVersion: "1.30"
---
Allow WebSocket streaming of the
portforward sub-protocol (`port-forward`) from clients requesting
version v2 (`v2.portforward.k8s.io`) of the sub-protocol.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ _build:
render: false

stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
- stage: beta
defaultValue: true
fromVersion: "1.30"
---
Allow WebSocket streaming of the
remote command sub-protocol (`exec`, `cp`, `attach`) from clients requesting
Expand Down
8 changes: 8 additions & 0 deletions content/en/docs/reference/kubectl/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,14 @@ kubectl [flags]
</td>
</tr>

<tr>
<td colspan="2">KUBECTL_PORT_FORWARD_WEBSOCKETS</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">When set to true, the kubectl port-forward command will attempt to stream using the websockets protocol. If the upgrade to websockets fails, the commands will fallback to use the current SPDY protocol.
</td>
</tr>

<tr>
<td colspan="2">KUBECTL_REMOTE_COMMAND_WEBSOCKETS</td>
</tr>
Expand Down

0 comments on commit 2c8bbd2

Please sign in to comment.