mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Use kubectl delete to replace stop in an example
This commit is contained in:
parent
ae81f0b55f
commit
a71b2f289a
@ -59,10 +59,10 @@ You can also see the replication controller that was created:
|
|||||||
kubectl get rc
|
kubectl get rc
|
||||||
```
|
```
|
||||||
|
|
||||||
To stop the two replicated containers, stop the replication controller:
|
To delete the two replicated containers, delete the replication controller:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl stop rc my-nginx
|
kubectl delete rc my-nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
### Exposing your pods to the internet.
|
### Exposing your pods to the internet.
|
||||||
|
Loading…
Reference in New Issue
Block a user