Files
website/content/en/docs/tasks/job
A. Ishikawa e2adcde55d Update a command to run correctly for a reader (#9167)
# Issue
The command of jobs does not run correctly if its job already finished.
Some readers may confuse that they can't succeed to run a command to follow this tutorial.
So, we should add `--show-all` option to show pods that may be completed.

# The log to show that we need to add an --show-all option
```
$ kubectl get jobs
NAME               DESIRED   SUCCESSFUL   AGE
busybox            1         0            27d
hello-1529501040   1         1            2m
hello-1529501100   1         1            1m
hello-1529501160   1         1            43s
$ kubectl get pods --selector=job-name=hello-1529501160
No resources found, use --show-all to see completed objects.
$ kubectl get pods --show-all --selector=job-name=hello-1529501160
NAME                     READY     STATUS      RESTARTS   AGE
hello-1529501160-dckjv   0/1       Completed   0          1m
```
2018-06-24 18:41:02 -07:00
..
2018-05-05 09:00:51 -07:00