Serverless
O
L
F
R KW
W
@tsurdilo
Define a declarative workflow
model that orchestrates event-driven,
serverless applications.
CNCF Serverless WG Sandbox Project
Vendor-neutral
Platform-independent
Apache License 2.0
Provide a common
workflow
model definition.
Common model
allows easier portability
across
platforms/containers.
Common model
can drive common:
*libraries
*tooling
*infrastructure
Describe both stateful
and stateless
orchestration.
TCK
<code>
SDK
<code>
JSON SCHEMA
{ … }
RUNTIME IMPL
conforms to…uses…
EXT
{ … }
KPIs
Sim
Tra
cing
S
p
e
c
R
u
n
t
i
m
e
s
JSON/YAML
Runtime Runtime Runtime
Specification
Workflow
state
state
state
state
Workflow Workflow Workflow
Trigger 1
Trigger 2
Trigger 3
SinkBinding 1
SinkBinding 2
SinkBinding 3
… …
Service
Discovery
Services /
Deployments
“Container images”“Cloud services”
Define used services
Correlation rulesDeclarative types
cloudevents
Define consumed/produced events
Define services execution
Function reference Event-triggered
Define control-flow logic
A
A B
Sequence
A
A A
Data/Event based
transition
A
Data-based
looping
A B C
Parallel Exec Error handling
(and much more … )
Broker
Knative Resource
Workflow Service
Trigger1
Trigger2
Trigger3
Serving
Service
(http)
Workflow Workflow Workflow
Example - Event-triggered workflow exec
GitHub: https://github.com/serverlessworkflow
Web: http://serverlessworkflow.io
Slack: https://slack.cncf.io/ #serverless-workflow
Meetings: https://www.cncf.io/community/calendar/
Rest
Integration
K
A
F
K
A
Serverless
Workflow
Human Task
Service
Rule
Service
Kogitcloudevents
New Orders Process Orders
Messaging
Custom UI
http://orders-demo-serverless-demos.apps.kogito.automation.rhmw.io/
Questions?

Serverless Workflow: New approach to Kubernetes service orchestration | DevNation Tech Talk