Created
July 5, 2020 09:36
-
-
Save vamsijakkula/0d1f089ea95350401fce3d9914b3672f 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 | |
restartPolicy: OnFailure | |
parallelism: 2 | |
completions: 4 | |
concurrencyPolicy: Allow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment