jina.peapods.runtimes.jinad package

Module contents

class jina.peapods.runtimes.jinad.JinadRuntime(args, ctrl_addr, timeout_ctrl, **kwargs)[source]

Bases: jina.peapods.runtimes.zmq.asyncio.AsyncNewLoopRuntime

Runtime procedure for JinaD.

async async_setup()[source]

Create Workspace, Pea on remote JinaD server

async async_run_forever()[source]

Streams log messages using websocket from remote server

async async_cancel()[source]

Cancels the logstream task, removes the remote Pea & Workspace