Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21383

Docker image does not play well together with ConfigMap based flink-conf.yamls

    XMLWordPrintableJSON

Details

    Description

      Flink's Docker image does not play well together with ConfigMap based flink-conf.yamls. The docker-entrypoint.sh script offers a few env variables to overwrite configuration values (e.g. FLINK_PROPERTIES, JOB_MANAGER_RPC_ADDRESS, etc.). The problem is that the entrypoint script assumes that it can modify the existing flink-conf.yaml. This is not the case if the flink-conf.yaml is based on a ConfigMap.

      Making things worse, failures updating the flink-conf.yaml are not reported. Moreover, the called jobmanager.sh and taskmanager.sh scripts don't support to pass in dynamic configuration properties into the processes.

      I think the problem is that our assumption that we can modify the flink-conf.yaml does not always hold true. If we updated the final configuration from within the Flink process (dynamic properties and env variables), then this problem could be avoided.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              trohrmann Till Rohrmann
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: