mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
kubectl describe <kind> work with no arguments
Add describe_resource_assert to test describe <kind> with no object arg
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user