Update manage-deployment.md (#7774)
If you created the resource (on your local minikube) as instructed using: kubectl create -f https://k8s.io/docs/concepts/cluster-administration/nginx-app.yaml then, you probably want to delete it from your minikube, in that case, the correct command is the one proposed in this PR.
This commit is contained in:
committed by
k8s-ci-robot
parent
12d9230c90
commit
58c8f49189
@@ -55,7 +55,7 @@ deployment "nginx-deployment" created
|
|||||||
Resource creation isn't the only operation that `kubectl` can perform in bulk. It can also extract resource names from configuration files in order to perform other operations, in particular to delete the same resources you created:
|
Resource creation isn't the only operation that `kubectl` can perform in bulk. It can also extract resource names from configuration files in order to perform other operations, in particular to delete the same resources you created:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ kubectl delete -f https://k8s.io/docs/concepts/cluster-administration/nginx/
|
$ kubectl delete -f https://k8s.io/docs/concepts/cluster-administration/nginx-app.yaml
|
||||||
deployment "my-nginx" deleted
|
deployment "my-nginx" deleted
|
||||||
service "my-nginx-svc" deleted
|
service "my-nginx-svc" deleted
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user