jina flow

Start a Jina flow that consists of multiple pods

usage: jina flow [-h] [--yaml-path] [--logserver] [--logserver-config]
                 [--optimize-level]
                 [--output-type {SHELL_PROC, SHELL_DOCKER, DOCKER_SWARM, K8S}]
                 [--output-path]

flow arguments

--yaml-path

a yaml file represents a flow

--logserver

start a log server for the dashboard

Default: False

--logserver-config

the yaml config of the log server

Default: “/home/runner/work/jina/jina/jina/resources/logserver.default.yml”

--optimize-level

removing redundant routers from the flow. Note, this may change the gateway zmq socket to BIND and hence not allow multiple clients connected to the gateway at the same time.

Default: 0

--output-type

Possible choices: SHELL_PROC, SHELL_DOCKER, DOCKER_SWARM, K8S

type of the output

Default: 0

--output-path

output path of the flow