Skip to content

Commit 8b17474

Browse files
authored
Merge pull request #25113 from zhaojizhuang/fixexample
fix example error when use kubectl get -f
2 parents cb7c4b6 + 7beee58 commit 8b17474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for example `create`, `get`, `describe`, `delete`.
6161
* To specify resources with one or more files: `-f file1 -f file2 -f file<#>`
6262

6363
* [Use YAML rather than JSON](/docs/concepts/configuration/overview/#general-configuration-tips) since YAML tends to be more user-friendly, especially for configuration files.<br/>
64-
Example: `kubectl get pod -f ./pod.yaml`
64+
Example: `kubectl get -f ./pod.yaml`
6565

6666
* `flags`: Specifies optional flags. For example, you can use the `-s` or `--server` flags to specify the address and port of the Kubernetes API server.<br/>
6767

0 commit comments

Comments
 (0)