kind: CronWorkflow

From wikieduonline
Jump to navigation Jump to search

https://argo-workflows.readthedocs.io/en/latest/cron-workflows/


apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: test-cron-wf
spec:
  schedules:
    - "* * * * *"
  concurrencyPolicy: "Replace"
  startingDeadlineSeconds: 0
  workflowSpec:
    entrypoint: date
    templates:
    - name: date
      container:
        image: alpine:3.6
        command: [sh, -c]
        args: ["date; sleep 90"]

Related[edit]

See also[edit]

Advertising: