Last active
February 24, 2021 09:36
-
-
Save eyarz/bd3067063378225cf2fbf6ccbf10a28a to your computer and use it in GitHub Desktop.
This file contains 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: "foobar" | |
spec: | |
schedule: '*/15 9-19 * *' | |
jobTemplate: | |
spec: | |
template: | |
spec: | |
restartPolicy: Never | |
# [start] correct config but worng placement | |
concurrencyPolicy: Forbid | |
successfulJobsHistoryLimit: 1 | |
failedJobsHistoryLimit: 1 | |
# [end] correct config but worng placement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment