Rename ScheduledJobs to CronJobs

This commit is contained in:
Maciej Szulik
2016-11-09 11:32:57 +01:00
parent 9544c80dee
commit ab09b11359
9 changed files with 69 additions and 66 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