diff --git a/example/every-minute-cron.yaml b/example/every-minute-cron.yaml new file mode 100644 index 00000000000..7f71fa28cb4 --- /dev/null +++ b/example/every-minute-cron.yaml @@ -0,0 +1,27 @@ +apiVersion: kubeflow.org/v1alpha1 +kind: ScheduledWorkflow +metadata: + name: every-minute-cron +spec: + description: "every-minute-cron" + enabled: true + maxHistory: 10 + trigger: + cronSchedule: + cron: 1 * * * * * + workflow: + spec: + entrypoint: whalesay + arguments: + parameters: + - name: message + value: hello world + templates: + - name: whalesay + inputs: + parameters: + - name: message + container: + image: docker/whalesay + command: [cowsay] + args: ["{{inputs.parameters.message}}"] diff --git a/example/every-minute-periodic.yaml b/example/every-minute-periodic.yaml new file mode 100644 index 00000000000..4f1cf9c95f6 --- /dev/null +++ b/example/every-minute-periodic.yaml @@ -0,0 +1,27 @@ +apiVersion: kubeflow.org/v1alpha1 +kind: ScheduledWorkflow +metadata: + name: every-minute-periodic +spec: + description: "every-minute-periodic" + enabled: true + maxHistory: 10 + trigger: + periodicSchedule: + intervalSecond: 60 + workflow: + spec: + entrypoint: whalesay + arguments: + parameters: + - name: message + value: hello world + templates: + - name: whalesay + inputs: + parameters: + - name: message + container: + image: docker/whalesay + command: [cowsay] + args: ["{{inputs.parameters.message}}"] diff --git a/install/manifests/pipelines-crd.yaml b/install/manifests/pipelines-crd.yaml new file mode 100644 index 00000000000..1b5df1ea0d1 --- /dev/null +++ b/install/manifests/pipelines-crd.yaml @@ -0,0 +1,11 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: scheduledworkflows.kubeflow.org +spec: + group: kubeflow.org + version: v1alpha1 + scope: Namespaced + names: + kind: ScheduledWorkflow + plural: scheduledworkflows