fix description about document (#8613)

I have tested with kubectl 1.10 and kubectl in master branch, completed
job pods show up in output.
This commit is contained in:
CaoShuFeng
2018-05-31 08:09:57 -04:00
committed by k8s-ci-robot
parent c0e874226e
commit ca8516dfcc
@@ -205,8 +205,7 @@ policy for the embedded template to "`Never`".
## Job Termination and Cleanup
When a Job completes, no more Pods are created, but the Pods are not deleted either. Since they are terminated,
they don't show up with `kubectl get pods`, but they will show up with `kubectl get pods -a`. Keeping them around
When a Job completes, no more Pods are created, but the Pods are not deleted either. Keeping them around
allows you to still view the logs of completed pods to check for errors, warnings, or other diagnostic output.
The job object also remains after it is completed so that you can view its status. It is up to the user to delete
old jobs after noting their status. Delete the job with `kubectl` (e.g. `kubectl delete jobs/pi` or `kubectl delete -f ./job.yaml`). When you delete the job using `kubectl`, all the pods it created are deleted too.