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

Allow eventing in Kubeflow Pipelines #725

Closed
animeshsingh opened this issue Jan 23, 2019 · 3 comments
Closed

Allow eventing in Kubeflow Pipelines #725

animeshsingh opened this issue Jan 23, 2019 · 3 comments
Assignees

Comments

@animeshsingh
Copy link
Contributor

Pipelines should allow events to be triggered at different steps, and provide handlers to handle actions ins response to those events. Going further, ideally the eventing solution can be plugin-based, for e.g. if someone is using Apache OpenWhisk as an eventing platform, or someone is using Knative eventing, it can allow the engine to be plugged in.

@swiftdiaries
Copy link
Member

Argo Events lends itself more naturally to Pipelines.
Related discussion: #651

@vicaire
Copy link
Contributor

vicaire commented Feb 4, 2019

animeshsingh@,

The way I was thinking of tackling this would be:

  1. The user can create an event based workflow based on: a set of (query, workflow step) where:
    1.a A query is made to our metadata DB (e.g.: trigger each time there is a new model, trigger each time there is new data, trigger each time there is a new event of type T, etc.)
    1.b The workflow step corresponding to the query is executed each time the query returns new data. Here, a workflow step could be backed by a container, an Argo workflow (i.e. a subworkflow), etc.
  2. Events can be added to the metadata DB using from various sources (webhook, pub/sub, OpenWhisk, etc.).

This design would decouple the systems that can be source of events from the orchestration system (the metadata API being the integration point).

https://bit.ly/2WhNT3D

@vicaire
Copy link
Contributor

vicaire commented Mar 26, 2019

Resolving in favor of #651

@vicaire vicaire closed this as completed Mar 26, 2019
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

4 participants