RunConfiguration

The RunConfiguration resource represents the lifecycle of recurring runs (aka Jobs in KFP). Pipeline training runs can be configured using this resource as follows:

apiVersion: pipelines.kubeflow.org/v1alpha5
kind: RunConfiguration
metadata:
  name: penguin-pipeline-recurring-run
spec:
  run:
    pipeline: penguin-pipeline:v1-abcdef
    experimentName: penguin-experiment
    runtimeParameters:
    - name: TRAINING_RUNS
      value: '100'
    artifacts:
    - name: serving-model
      path: 'Pusher:pushed_model:0[pushed == 1]'
  triggers:
    schedules:
    - '0 * * * *'
    onChange:
    - pipeline
    runConfigurations:
    - dependency-rc

A Run Configuration can have one of more triggers that determine when the next training run will be started.

Fields

NameDescription
spec.runDefinition of any runs created under this run configuration. See Runs for more details.
spec.triggers.schedules[]Cron schedules to execute training runs. It can have 5 (standard cron) or 6 (first digit expresses seconds) fields. When a provider does not support the 6-field format, seconds will be omitted.
spec.triggers.onChange[]Resource attributes that execute training runs. pipeline triggers when the referenced pipeline changes. runSpec triggers when this resource’s spec.run field has changed.
spec.triggers.runConfigurations[]RunConfigurations to watch for completion - a run for this RunConfiguration will start every time any of the listed dependencies has finished a run successfully.