Get logs by label selector (#538)

Now user doesn't need to fill in the actual pod name.
This commit is contained in:
Grant Rodgers 2018-11-12 15:47:45 -08:00 committed by Knative Prow Robot
parent b950ebc91d
commit dc77aaa3fe
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ kubectl run -i --tty busybox --image=busybox --restart=Never -- sh
Once the shell comes up, just exit it and kill the pod. Once the shell comes up, just exit it and kill the pod.
```shell ```shell
kubectl delete pods busybox kubectl delete pod busybox
``` ```
@ -68,7 +68,7 @@ We will verify that the kubernetes events were sent into the Knative eventing sy
```shell ```shell
kubectl get pods kubectl get pods
kubectl logs message-dumper-XXXX user-container kubectl logs -l serving.knative.dev/service=message-dumper -c user-container
``` ```
You should see log lines similar to: You should see log lines similar to: