Chesnay Schepler created FLINK-20915:
----------------------------------------

             Summary: Move docker-entrypoint.sh logic into disrtibution
                 Key: FLINK-20915
                 URL: https://issues.apache.org/jira/browse/FLINK-20915
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Scripts
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.13.0, 1.12.2


Copy most of the existing docker-entrypoint.sh into the distribution and defer 
to it from the docker image. This will make it easier for us to align the 
distribution and docker entrypoints, hopefully preventing disasters like the 
1.12 release.
The only things remaining in the image are things that are intrinsically tied 
to the image, like the jmalloc switch.

Over time we should look into reducing the amount of docker-specific logic in 
this script.
For example,
* setting various config options at startup could be moved into the image 
creation by modifying flink-conf.yaml right away (in a way, creating a custom 
docker distribution)
* docker-specific environment variables (for plugins the the number of slots 
for task executors) could be supported in all modes



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to