You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/02/11 12:23:10 UTC

[flink-docker] branch dev-master updated: [FLINK-24474] Bind Jobmanager/Taskmanager RPC endpoint addresses to 0.0.0.0 by default

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch dev-master
in repository https://gitbox.apache.org/repos/asf/flink-docker.git


The following commit(s) were added to refs/heads/dev-master by this push:
     new dd253d3  [FLINK-24474] Bind Jobmanager/Taskmanager RPC endpoint addresses to 0.0.0.0 by default
dd253d3 is described below

commit dd253d3fac4e3c10e3f1ad339423c16e118fafbb
Author: Mika <ma...@autophagy.io>
AuthorDate: Fri Feb 11 13:23:05 2022 +0100

    [FLINK-24474] Bind Jobmanager/Taskmanager RPC endpoint addresses to 0.0.0.0 by default
---
 Dockerfile-debian.template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template
index 91b87a9..2921870 100644
--- a/Dockerfile-debian.template
+++ b/Dockerfile-debian.template
@@ -80,9 +80,11 @@ RUN set -ex; \
   \
   chown -R flink:flink .;
 
-# Replace default REST endpoint bind address to use the container's network interface
+# Replace default REST/RPC endpoint bind address to use the container's network interface
 RUN sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml
 RUN sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml
+RUN sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml
+RUN sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml
 
 # Configure container
 COPY docker-entrypoint.sh /