Merge pull request #12900 from feihujiang/deleteMultipleResourcesWithTheSameName

Allow delete multiple resources with the same name
This commit is contained in:
Nikhil Jindal
2015-08-24 10:40:41 -07:00
6 changed files with 94 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ $ kubectl delete -f ./pod.json
# Delete a pod based on the type and name in the JSON passed into stdin.
$ cat pod.json | kubectl delete -f -
# Delete pods and services with same names "baz" and "foo"
$ kubectl delete pod,service baz foo
# Delete pods and services with label name=myLabel.
$ kubectl delete pods,services -l name=myLabel