Created
July 5, 2020 10:16
-
-
Save vamsijakkula/6ffcbeb1c9a7277bad431614967df1bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: hello-cron | |
spec: | |
schedule: "*/1 * * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: | |
containers: | |
- name: hello-cron | |
image: vamsijakkula/hello-cron:latest | |
command: ['sh', '-c','sleep 75'] | |
restartPolicy: OnFailure | |
concurrencyPolicy: Forbid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment