Skip to content

Commit

Permalink
testing a new cron workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpbennett committed Jul 12, 2024
1 parent c631214 commit 46da826
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions kubernetes/workflows/py-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: py-test
spec:
schedule: "*/10 * * * *"
timezone: "Europe/London" # Default to local machine timezone
startingDeadlineSeconds: 0
concurrencyPolicy: "Replace" # Default to "Allow"
successfulJobsHistoryLimit: 4 # Default 3
failedJobsHistoryLimit: 4 # Default 1
suspend: false # Set to "true" to suspend scheduling
workflowSpec:
entrypoint: py-test
templates:
- name: py-test
container:
image: 192.168.7.210:5000/py-test:0.0.1
imagePullPolicy: Always

0 comments on commit 46da826

Please sign in to comment.