Update automated-tasks-with-cron-jobs.md (#9810)

This commit is contained in:
mofelee
2018-08-20 23:53:34 +08:00
committed by k8s-ci-robot
parent 910215288e
commit 99b808298b
@@ -93,7 +93,7 @@ Note that the job name and pod name are different.
```shell
# Replace "hello-4111706356" with the job name in your system
$ pods=$(kubectl get pods --show-all --selector=job-name=hello-4111706356 --output=jsonpath={.items..metadata.name})
$ pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items..metadata.name})
$ echo $pods
hello-4111706356-o9qcm