Flag --export has been deprecated (#14432)

Flag --export has been deprecated, This flag is deprecated and will be removed in future.
pull/14442/head
好风 2019-05-21 20:54:43 +08:00 committed by Kubernetes Prow Robot
parent 18367feaea
commit a98753cfe9
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ several manual steps.
1. Export the live object to a local object configuration file:
```shell
kubectl get <kind>/<name> -o yaml --export > <kind>_<name>.yaml
kubectl get <kind>/<name> -o yaml > <kind>_<name>.yaml
```
1. Manually remove the status field from the object configuration file.
@ -151,4 +151,4 @@ template:
* [Kubectl Command Reference](/docs/reference/generated/kubectl/kubectl/)
* [Kubernetes API Reference](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/)
{{% /capture %}}
{{% /capture %}}