You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/01/11 15:11:00 UTC

[jira] [Updated] (FLINK-20915) Move docker-entrypoint.sh logic into distribution

     [ https://issues.apache.org/jira/browse/FLINK-20915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-20915:
-------------------------------------
    Summary: Move docker-entrypoint.sh logic into distribution  (was: Move docker-entrypoint.sh logic into disrtibution)

> Move docker-entrypoint.sh logic into distribution
> -------------------------------------------------
>
>                 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
>            Priority: Major
>             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)