jina.peapods.runtimes.container package

Module contents

class jina.peapods.runtimes.container.ContainerRuntime(args, ctrl_addr, **kwargs)[source]

Bases: jina.peapods.runtimes.zmq.base.ZMQRuntime

Runtime procedure for container.

teardown()[source]

Stop the container.

run_forever()[source]

Stream the logs while running.

property status

Send get status control message.

Returns

control message.

property is_ready

Check if status is ready.

Return type

bool

Returns

True if status is ready else False.