Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React to KFP Kubernetes resources instead of Argo workflows #145

Open
jmendesky opened this issue Jul 25, 2022 · 0 comments
Open

React to KFP Kubernetes resources instead of Argo workflows #145

jmendesky opened this issue Jul 25, 2022 · 0 comments

Comments

@jmendesky
Copy link
Collaborator

Overview

Currently, the EventSource server listens to finishing Argo Workflows. Argo Workflows are implementation details of KFP and, therefore, not first-party objects. Furthermore, KFP produces different kinds of workflows depending on whether the run is triggered by a schedule or a rerun.

Instead, the EventSource server could listen to ScheduledWorkflow KFP resources. These resources contain all the information needed.

Implementation notes

  • Spec.trigger.lastWorkflowIndex is the last known triggered pipeline run. In order to store whether an event has been processed, the EventSource Server would need to write an annotation to the resource that contains the last processed workflow.

Open questions

  • Do reruns create the same status entries as scheduled runs?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant