From 58c8f49189e02500511584f4ccd1ae9ce8c9ffc1 Mon Sep 17 00:00:00 2001 From: Nicolas Romanetti Date: Fri, 23 Mar 2018 17:57:03 +0100 Subject: [PATCH] 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. --- docs/concepts/cluster-administration/manage-deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/cluster-administration/manage-deployment.md b/docs/concepts/cluster-administration/manage-deployment.md index 4c280f5a4c..864a95a24a 100644 --- a/docs/concepts/cluster-administration/manage-deployment.md +++ b/docs/concepts/cluster-administration/manage-deployment.md @@ -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: ```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 service "my-nginx-svc" deleted ```