You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Canbin Zheng (Jira)" <ji...@apache.org> on 2020/04/07 09:45:00 UTC

[jira] [Created] (FLINK-17034) Execute the container CMD under TINI for better hygiene

Canbin Zheng created FLINK-17034:
------------------------------------

             Summary:  Execute the container CMD under TINI for better hygiene
                 Key: FLINK-17034
                 URL: https://issues.apache.org/jira/browse/FLINK-17034
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Docker, Deployment / Kubernetes, Dockerfiles
            Reporter: Canbin Zheng


The container of the JM or TMs is running in the shell form and it could not receive the *TERM* signal when the pod is deleted. Some of the problems are as follows:
 * The JM and the TMs could have no chance of cleanup, I used to create FLINK-15843[4] for tracking this problem.
 * The pod could take a long time(up to 40 seconds) to be deleted after the K8s API Server receives the deletion request.

The discussion could refer to [http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-FLIP-111-Docker-image-unification-td38444i20.html]

 



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