Allow delete multiple resources with the same name

This commit is contained in:
feihujiang
2015-08-19 16:33:02 +08:00
parent ebe50ea692
commit 943c57ff4e
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