tarmazakov commented on issue #7858: [FLINK-11787] Update Kubernetes resources: 
workaround to make TM reachable from JM in Kubernetes
URL: https://github.com/apache/flink/pull/7858#issuecomment-468645947
 
 
   If you add `"$@"`, then the `taskmanager` argument will be passed to 
taskmanager.sh, which is passed to docker-entrypoint.sh earlier.  I think you 
need to add to the script
   
   _docker-entrypoint.sh_
   ```bash
   ...
   ARGS=("${@:2}")
   ...
   elif [ "$1" = "taskmanager" ]; then
     ...
     exec $(drop_privs_cmd) "$FLINK_HOME/bin/taskmanager.sh" start-foreground 
"${ARGS[@]}"
   fi
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to