Created
July 5, 2020 10:01
-
-
Save vamsijakkula/a706b350cf8fb91719f6152d345a3f22 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: Allow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment