sync 1.27 kubectl.md

sync 1.27 kubectl.md
pull/40631/head
xin gu 2023-04-12 17:21:45 +08:00
parent 31fe67229e
commit 85adfe93bc
1 changed files with 13 additions and 0 deletions

View File

@ -528,6 +528,19 @@ Toggles whether calls to `kubectl explain` use the new OpenAPIv3 data source ava
</td>
</tr>
<tr>
<td colspan="2">KUBECTL_ENABLE_CMD_SHADOW</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
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).
-->
当设置为 true 时,如果子命令不存在,外部插件可以用作内置命令的子命令。
此功能处于 alpha 阶段,只能用于 create 命令(例如 kubectl create networkpolicy
</td>
</tr>
</tbody>
</table>