Move Guide topic: Cron Jobs. (#3334)

This commit is contained in:
Steve Perry
2017-04-12 15:54:33 -07:00
committed by GitHub
parent 501656585e
commit 1a169b4c0c
4 changed files with 213 additions and 182 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: batch/v2alpha1
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