dflow icon indicating copy to clipboard operation
dflow copied to clipboard

Log synchronization for dispatcher executor

Open zjgemi opened this issue 3 years ago • 0 comments

Synchronization of logs has not been implemented in dispatcher. For minimal modification of dispatcher, the dispatcher executor in dflow may synchronize logs via a sidecar container. Some suggestions

  1. Run an agent on remote cluster to collect logs and launch a rpc server. Local client call the server via a SSH tunnel. (Refer to wlm-operator)
  2. Redirect the stdout and stderr to some files. Local process synchronizes the files with offsets and limits. (Refer to dflow-extender)

zjgemi avatar Aug 09 '22 01:08 zjgemi