Skip to content

Commit

Permalink
Flag --export has been deprecated
Browse files Browse the repository at this point in the history
Flag --export has been deprecated, This flag is deprecated and will be removed in future.
  • Loading branch information
gwind authored May 21, 2019
1 parent 3c7cae7 commit 774ea0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 %}}

0 comments on commit 774ea0b

Please sign in to comment.