[ https://issues.apache.org/jira/browse/FLINK-12160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Wang updated FLINK-12160: ------------------------------ Description: When deploying flink cluster on Yarn, `yarnShip` cli option could be used to ship user config files and jars. The files are registered as Yarn local resource which is saved on hdfs. However, we do not have a default existing dfs. The `ConfigMap` could be used to ship small files. The files will be stored in etcd and then mounted to jobmanager and taskmanager pod so that they could use it as locally. {code:java} -kt,--kubernetesship <arg> Ship files in the specified directory (t for transfer). Only small files(<1MB) could be supported. {code} [https://stackoverflow.com/questions/53012798/kubernetes-configmap-size-limitation] was:When submit a flink job on kubernetes, the jars will be transferred through docker images or flink blob server. Also we will need a way to transfer config files, such as hdfs-site.xml/core-site.xml. It could be saved in config map in etcd and then mounted to jobmanager and taskmanager pod. > Support to ship user config files on kubernetes > ----------------------------------------------- > > Key: FLINK-12160 > URL: https://issues.apache.org/jira/browse/FLINK-12160 > Project: Flink > Issue Type: Sub-task > Components: Runtime / Coordination > Reporter: Yang Wang > Assignee: Yang Wang > Priority: Major > > When deploying flink cluster on Yarn, `yarnShip` cli option could be used to > ship user config files and jars. The files are registered as Yarn local > resource which is saved on hdfs. > > However, we do not have a default existing dfs. The `ConfigMap` could be used > to ship small files. The files will be stored in etcd and then mounted to > jobmanager and taskmanager pod so that they could use it as locally. > {code:java} > -kt,--kubernetesship <arg> Ship files in the specified > directory > (t for transfer). Only small > files(<1MB) could be supported. > {code} > [https://stackoverflow.com/questions/53012798/kubernetes-configmap-size-limitation] -- This message was sent by Atlassian Jira (v8.3.4#803005)