jina.orchestrate.pods.jinad module#
- class jina.orchestrate.pods.jinad.JinaDProcessTarget[source]#
Bases:
object
Target to be executed on JinaD Process
- property filepaths: List[Path]#
Get file/directories to be uploaded to remote workspace
- Return type
List
[Path
]- Returns
filepaths to be uploaded to remote
- class jina.orchestrate.pods.jinad.JinaDPod(args)[source]#
Bases:
BasePod
Manages a remote Pod by handling a separate Process / Thread
- static wait_for_ready_or_shutdown(timeout, ready_or_shutdown_event, ctrl_address, **kwargs)[source]#
Check if the runtime has successfully started
- Parameters
timeout (
Optional
[float
]) – The time to wait before readiness or failure is determinedctrl_address (
str
) – the address where the control message needs to be sentready_or_shutdown_event (
Union
[Event
,Event
]) – the multiprocessing event to detect if the process failed or is readykwargs – extra keyword arguments
- Returns
True if is ready or it needs to be shutdown