fix typo
This commit is contained in:
chenhuan12
2017-04-10 19:28:32 +08:00
committed by Andrew Chen
parent 6978f1b21d
commit e96d972bba
@@ -30,7 +30,7 @@ You can use `kubectl create -f` to create an object from a configuration file.
Refer to the [kubernetes object schema reference](/docs/resources-reference/v1.6/)
for details.
- `create -f <filename|url>`
- `kubectl create -f <filename|url>`
## How to update objects
@@ -45,24 +45,24 @@ file to prevent `replace` from dropping them.
You can use `kubectl replace -f` to update a live object according to a
configuration file.
- `replace -f <filename|url>`
- `kubectl replace -f <filename|url>`
## How to delete objects
You can use `kubectl delete -f` to delete an object that is described in a
configuration file.
- `delete -f <filename|url>`
- `kubectl delete -f <filename|url>`
## How to view an object
You can use `kubectl get -f` to view information about an object that is
described in a configuration file.
- `get -f <filename|url> -o yaml`
- `kubectl get -f <filename|url> -o yaml`
The `-o yaml` flag specifies that the full object configuration is printed.
Use `get -h` to see a list of options.
Use `kubectl get -h` to see a list of options.
## Limitations