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
..
coarse-parallel-processing-work-queue Add weights and move files under Tasks > Jobs. (#8623) 2018-05-18 12:51:50 -07:00
fine-parallel-processing-work-queue Add weights and move files under Tasks > Jobs. (#8623) 2018-05-18 12:51:50 -07:00
_index.md Add weights and move files under Tasks > Jobs. (#8623) 2018-05-18 12:51:50 -07:00
automated-tasks-with-cron-jobs.md Update a command to run correctly for a reader (#9167) 2018-06-24 18:41:02 -07:00
coarse-parallel-processing-work-queue.md Apply templates to all concepts and tasks to fix double bullets in TOC (#9149) 2018-06-22 11:20:04 -07:00
cronjob.yaml #4500: Split out tasks in cron jobs docs (#8337) 2018-05-06 12:01:50 -07:00
fine-parallel-processing-work-queue.md Apply templates to all concepts and tasks to fix double bullets in TOC (#9149) 2018-06-22 11:20:04 -07:00
job.yaml Convert site to Hugo (#8316) 2018-05-05 09:00:51 -07:00
parallel-processing-expansion.md Apply templates to all concepts and tasks to fix double bullets in TOC (#9149) 2018-06-22 11:20:04 -07:00