Skip to content

Commit ca8b684

Browse files
authored
Merge pull request #48912 from windsonsea/alphadi
[zh] Add alpha disclaimer to kubectl_apply
2 parents 594e67e + 3e46108 commit ca8b684

File tree

1 file changed

+5
-0
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_apply

1 file changed

+5
-0
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_apply/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Apply a configuration to a resource by file name or stdin. The resource name mus
2424
基于文件名或标准输入将配置应用于资源。必须指定资源名称。如果资源尚不存在,则资源会被创建。
2525
若要使用 `apply` 命令,最初创建资源时应始终使用 `apply``create --save-config`
2626

27+
支持 JSON 和 YAML 格式。
28+
29+
Alpha 免责声明:--prune 功能尚不完整。除非你了解当前的状态,否则请勿使用此功能。
30+
参见 https://issues.k8s.io/34274
31+
2732
```shell
2833
kubectl apply (-f FILENAME | -k DIRECTORY)
2934
```

0 commit comments

Comments
 (0)