flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] tarmazakov commented on issue #7858: [FLINK-11787] Update Kubernetes resources: workaround to make TM reachable from JM in Kubernetes
Date Fri, 01 Mar 2019 12:13:44 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message