mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Change deprecated 'kubectl stop' to 'delete'
This commit is contained in:
parent
2f9652c7f1
commit
22ec272494
@ -114,7 +114,7 @@ But if the replica count had been specified, the final replica count of the new
|
||||
### Step Five: Bring down the pods
|
||||
|
||||
```console
|
||||
$ kubectl stop rc update-demo-kitten
|
||||
$ kubectl delete rc update-demo-kitten
|
||||
```
|
||||
|
||||
This first stops the replication controller by turning the target number of replicas to 0 and then deletes the controller.
|
||||
|
Loading…
Reference in New Issue
Block a user