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