KarmaGYZ commented on a change in pull request #11284: [FLINK-15911][runtime] 
Make Flink work with NAT.
URL: https://github.com/apache/flink/pull/11284#discussion_r386769074
 
 

 ##########
 File path: 
flink-end-to-end-tests/test-scripts/container-scripts/docker-compose.nat.yml
 ##########
 @@ -0,0 +1,66 @@
+################################################################################
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+
+# Docker compose file for a Flink job cluster deployment with NAT network.
+#
+# Parameters:
+# * FLINK_DOCKER_IMAGE_NAME - Image name to use for the deployment (default: 
flink-job:latest)
+# * FLINK_JOB - Name of the Flink job to execute (default: none)
+# * FLINK_JOB_ARGUMENTS - Additional arguments which will be passed to the job 
cluster (default: none)
+#
+# * HOST_ADDR - Address of the docker host. Will be used for JM/TM external 
addresses.
+# * JM_RPC_EX_PORT - External RPC port for JM.
+# * JM_RPC_IN_PORT - Internal RPC port for JM.
+# * TM_1_RPC_EX_PORT - External RPC port for TM 1.
+# * TM_2_RPC_EX_PORT - External RPC port for TM 2.
+# * TM_RPC_IN_PORT - Internal RPC port for both TMs.
+# * TM_1_DATA_EX_PORT - External data port for TM 1.
+# * TM_2_DATA_EX_PORT - External data port for TM 2.
+# * TM_DATA_IN_PORT - Internal data port for both TMs.
 
 Review comment:
   Minor: We may also list `INPUT_VOLUME` and `OUTPUT_VOLUME` here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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