Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- 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
Add Comment
Please, Sign In to add comment