kubectl describe <kind> work with no arguments

Add describe_resource_assert to test describe <kind> with no object arg
This commit is contained in:
feihujiang
2015-08-04 15:12:29 +08:00
parent 2bfa9a1f98
commit 73b694e6c1
6 changed files with 66 additions and 2 deletions

View File

@@ -159,6 +159,9 @@ $ kubectl describe pods/nginx
// Describe a pod using the data in pod.json.
$ kubectl describe \-f pod.json
// Describe all pods
$ kubectl describe pods
// Describe pods by label name=myLabel
$ kubectl describe po \-l name=myLabel