Add -a flag. (#5792)

This commit is contained in:
Steve Perry
2017-10-06 12:45:19 -07:00
committed by GitHub
parent c0ec0864f8
commit c3d16870ee
@@ -94,7 +94,7 @@ your job name and pod name would be different.
```shell
# Replace "hello-4111706356" with the job name in your system
$ pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items..metadata.name})
$ pods=$(kubectl get pods -a --selector=job-name=hello-4111706356 --output=jsonpath={.items..metadata.name})
$ echo $pods
hello-4111706356-o9qcm