Skip to content

Commit 2c8bbd2

Browse files
committed
KEP 4006 docs to beta
1 parent fe2efe0 commit 2c8bbd2

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: PortForwardWebsockets
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.30"
12+
---
13+
Allow WebSocket streaming of the
14+
portforward sub-protocol (`port-forward`) from clients requesting
15+
version v2 (`v2.portforward.k8s.io`) of the sub-protocol.

content/en/docs/reference/command-line-tools-reference/feature-gates/translate-stream-close-websocket-requests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ _build:
66
render: false
77

88
stages:
9-
- stage: alpha
10-
defaultValue: false
11-
fromVersion: "1.29"
9+
- stage: beta
10+
defaultValue: true
11+
fromVersion: "1.30"
1212
---
1313
Allow WebSocket streaming of the
1414
remote command sub-protocol (`exec`, `cp`, `attach`) from clients requesting

content/en/docs/reference/kubectl/kubectl.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,14 @@ kubectl [flags]
369369
</td>
370370
</tr>
371371

372+
<tr>
373+
<td colspan="2">KUBECTL_PORT_FORWARD_WEBSOCKETS</td>
374+
</tr>
375+
<tr>
376+
<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.
377+
</td>
378+
</tr>
379+
372380
<tr>
373381
<td colspan="2">KUBECTL_REMOTE_COMMAND_WEBSOCKETS</td>
374382
</tr>

0 commit comments

Comments
 (0)