fix ordered list (#16768)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3cf419aac7
commit
8a3036f519
@@ -109,17 +109,17 @@ 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 > <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.
|
||||||
|
|
||||||
1. For subsequent object management, use `replace` exclusively.
|
1. For subsequent object management, use `replace` exclusively.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl replace -f <kind>_<name>.yaml
|
kubectl replace -f <kind>_<name>.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Defining controller selectors and PodTemplate labels
|
## Defining controller selectors and PodTemplate labels
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user