Skip to content

Commit 2e3fcd9

Browse files
authored
Merge pull request #45233 from windsonsea/kubectl1
[zh] Sync kubectl.md and kubectl-cmds.md
2 parents a805b35 + a61a99a commit 2e3fcd9

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

content/zh-cn/docs/reference/kubectl/kubectl-cmds.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
title: kubectl 命令
33
weight: 20
44
---
5-
6-
<!-- ---
5+
<!--
76
title: kubectl Commands
87
weight: 20
9-
--- -->
8+
-->
109

11-
<!-- [kubectl Command Reference](/docs/reference/generated/kubectl/kubectl-commands/) -->
12-
[kubectl 命令参考](/docs/reference/generated/kubectl/kubectl-commands/)
10+
<!--
11+
[kubectl Command Reference](/docs/reference/kubectl/generated/kubectl/)
12+
-->
13+
[kubectl 命令参考](/zh-cn/docs/reference/kubectl/generated/kubectl/)

content/zh-cn/docs/reference/kubectl/kubectl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,15 +542,15 @@ When set to true, external plugins can be used as subcommands for builtin comman
542542
</tr>
543543

544544
<tr>
545-
<td colspan="2">KUBECTL_INTERACTIVE_DELETE</td>
545+
<td colspan="2">KUBECTL_REMOTE_COMMAND_WEBSOCKETS</td>
546546
</tr>
547547
<tr>
548548
<td></td><td style="line-height: 130%; word-wrap: break-word;">
549549
<!--
550-
When set to true, the --interactive flag in the kubectl delete command will be activated, allowing users to preview and confirm resources before proceeding to delete by passing this flag.
550+
When set to true, the kubectl exec, cp, and attach commands will attempt to stream using the websockets protocol. If the upgrade to websockets fails, the commands will fallback to use the current SPDY protocol.
551551
-->
552-
当设置为 true 时,`kubectl delete` 命令中的 `--interactive` 标志将被激活,
553-
允许用户在通过传递此标志进行删除之前预览并确认资源
552+
当设置为 true 时,kubectl exec、cp 和 attach 命令将尝试使用 WebSocket 协议进行流式传输。
553+
如果升级到 WebSocket 失败,这些命令将回退为使用当前的 SPDY 协议
554554
</td>
555555
</tr>
556556

0 commit comments

Comments
 (0)