Flag --export has been deprecated (#14432)
Flag --export has been deprecated, This flag is deprecated and will be removed in future.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
18367feaea
commit
a98753cfe9
@@ -110,7 +110,7 @@ several manual steps.
|
|||||||
1. Export the live object to a local object configuration file:
|
1. Export the live object to a local object configuration file:
|
||||||
|
|
||||||
```shell
|
```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.
|
1. Manually remove the status field from the object configuration file.
|
||||||
|
|||||||
Reference in New Issue
Block a user