#4500: Split out tasks in cron jobs docs (#8337)

* first attempt

* Skipping these sections

* cleanup and style

* style

* move schedule info to schedule section

* link to example
This commit is contained in:
Tim McMackin
2018-05-06 15:01:50 -04:00
committed by k8s-ci-robot
parent feff3c4a7f
commit 595e1455ca
4 changed files with 177 additions and 149 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hello
spec:
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: busybox
args:
- /bin/sh
- -c
- date; echo Hello from the Kubernetes cluster
restartPolicy: OnFailure