Skip to content

Commit 85adfe9

Browse files
committed
sync 1.27 kubectl.md
sync 1.27 kubectl.md
1 parent 31fe672 commit 85adfe9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,19 @@ Toggles whether calls to `kubectl explain` use the new OpenAPIv3 data source ava
528528
</td>
529529
</tr>
530530

531+
<tr>
532+
<td colspan="2">KUBECTL_ENABLE_CMD_SHADOW</td>
533+
</tr>
534+
<tr>
535+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
536+
<!--
537+
When set to true, external plugins can be used as subcommands for builtin commands if subcommand does not exist. In alpha stage, this feature can only be used for create command(e.g. kubectl create networkpolicy).
538+
-->
539+
当设置为 true 时,如果子命令不存在,外部插件可以用作内置命令的子命令。
540+
此功能处于 alpha 阶段,只能用于 create 命令(例如 kubectl create networkpolicy)。
541+
</td>
542+
</tr>
543+
531544
</tbody>
532545
</table>
533546

0 commit comments

Comments
 (0)