You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by miki haiat <mi...@gmail.com> on 2018/03/15 14:11:45 UTC
Change conf.yaml properties flink docker
HI ,
I want to change some flink-conf (jvm parameters ) properties that are
default configured
In the latest docker image .
The only option that i can think of is creating custom image that will
overwrite the current flink-conf file with new properties ?
I basically want to create kubernetes cluster with more* heap memory *
thanks,
Miki
Re: Change conf.yaml properties flink docker
Posted by Gary Yao <ga...@data-artisans.com>.
Hi Miki,
A custom image is not needed to do that. You can mount a directory
containing a
custom flink-conf.yaml [1], and set the environment variable FLINK_CONF_DIR
to
point to that directory [2][3].
Best,
Gary
[1] https://docs.docker.com/storage/volumes/
[2] https://docs.docker.com/engine/reference/run/#env-environment-variables
[3]
https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java#L1998
On Thu, Mar 15, 2018 at 3:11 PM, miki haiat <mi...@gmail.com> wrote:
> HI ,
>
> I want to change some flink-conf (jvm parameters ) properties that are
> default configured
> In the latest docker image .
>
> The only option that i can think of is creating custom image that will
> overwrite the current flink-conf file with new properties ?
>
> I basically want to create kubernetes cluster with more* heap memory *
>
> thanks,
>
> Miki
>