[ https://issues.apache.org/jira/browse/FLINK-15641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031246#comment-17031246 ]
Yang Wang commented on FLINK-15641: ----------------------------------- [~ouyangwuli] If you want to work on the init-container and sidecar container, could you please draft a design doc? I think it needs to include the following sections. * The motivation of introducing these two containers * How does it work * How to debug the network problems, collect logs, etc. with sidecar container * Pod lifecycle and restart policy when it has more than one container * Implementation guideline [~felixzheng] Feel free to add more information about the doc. > Support to start init container > ------------------------------- > > Key: FLINK-15641 > URL: https://issues.apache.org/jira/browse/FLINK-15641 > Project: Flink > Issue Type: Sub-task > Components: Deployment / Kubernetes > Reporter: Yang Wang > Priority: Major > > >> Why do we need init container? > The init container could be used to prepare the use jars and dependencies. > Then we could always set the user image to Flink official image both for > standalone per-job on K8s or native K8s per-job. When the JobManager and > TaskManager container launched, the user jars will already exist there. I > think many users are running standalone per-job cluster in production by > using this way. > The init container only works for K8s cluster. -- This message was sent by Atlassian Jira (v8.3.4#803005)