Skip to content

Commit 14e2775

Browse files
authored
Merge pull request #25156 from zhaojizhuang/kubectl
[zh] sync #25113 for zh,fix kubectl get -f
2 parents b3ab071 + 49662c8 commit 14e2775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh/docs/reference/kubectl/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ where `command`, `TYPE`, `NAME`, and `flags` are:
112112
* 用一个或多个文件指定资源:`-f file1 -f file2 -f file<#>`
113113

114114
* [使用 YAML 而不是 JSON](/zh/docs/concepts/configuration/overview/#general-config-tips) 因为 YAML 更容易使用,特别是用于配置文件时。<br/>
115-
例子:`kubectl get pod -f ./pod.yaml`
115+
例子:`kubectl get -f ./pod.yaml`
116116

117117
* `flags`: 指定可选的参数。例如,可以使用 `-s``-server` 参数指定 Kubernetes API 服务器的地址和端口。<br/>
118118

0 commit comments

Comments
 (0)