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
- 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)
- Redirect the stdout and stderr to some files. Local process synchronizes the files with offsets and limits. (Refer to dflow-extender)