[ 
https://issues.apache.org/jira/browse/FLINK-12160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002150#comment-17002150
 ] 

Yang Wang commented on FLINK-12160:
-----------------------------------

[~jianhe] I think we still need the feature to ship configuration files. 
Usually, on k8s, the users jars has been built in the image. So we do not need 
to ship them to jobmanager and taskmanager. We only use `-kt` to ship config 
files, such as hdfs-site.xml, etc. Benefit from this, we will not need to build 
the config files into image.

> 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)

Reply via email to