flowmium-0.0.0 is not a library.
Visit the last successful build:
flowmium-0.0.9
Flowmium
Flowmium is a workflow orchestrator that uses kubernetes written in rust.
Draft design notes
These designs are still in early stages, detailed documentation is yet to be done.
Endpoints and job models
POST /api/v1/jobandPUT /api/v1/job
DAG container job definition
name: ""
schedule: ""
tasks:
- name: ""
image: ""
depends:
cmd: ,
env:
- name: ""
value: ""
- name: ""
fromInput: ""
- name: ""
fromSecret: ""
inputs:
- from: ""
path: ""
outputs:
- name: ""
path: ""
config:
active_deadline_seconds: 34
affinity: 34
tolerations: 34
image_pull_secrets: 34
priority: 3
limits: 23
requests: 23
Python framework job definition
python:
image: ""
registry: ""
GET /api/v1/job/andGET /api/v1/job/{name}DELETE /api/v1/job/{name}POST /api/v1/registryandPUT /api/v1/registryGET /api/v1/registry/DELETE /api/v1/registryPOST /api/v1/secretandPUT /api/v1/secretGET /api/v1/secret/DELETE /api/v1/secret- Artifacts
Python framework design and usage example
return 1
return + 1
# used for manual sharding
return + 2
return *
# prints yaml DAG container job definition to run each function (task) as a pod
# which function to run in will be specified by CLI arguments
# the flow object will take care of parsing the arguments