this adds a config flag (flink.additional_libs) that allows users to reference and include addtional libraries from the flink distribution. this is useful e.g. if you want to enable metrics but don't want to create a custom image for that. Basically what happens is that an init container (that runs the same image as jobmanager and taskmanager) mounts an emptyDir, copies the relevant libs from $FLINK_BASEDIR/lib and $FLINK_BASEDIR/opt (<-- those are the ones that you can reference via --set flink.additional_libs) to that emptyDir and mounts that directory in the jobmanager and taskmanager containers to /opt/flink/lib.
this adds a config flag (
flink.additional_libs
) that allows users to reference and include addtional libraries from the flink distribution. this is useful e.g. if you want to enable metrics but don't want to create a custom image for that. Basically what happens is that an init container (that runs the same image as jobmanager and taskmanager) mounts anemptyDir
, copies the relevant libs from$FLINK_BASEDIR/lib
and$FLINK_BASEDIR/opt
(<-- those are the ones that you can reference via--set flink.additional_libs
) to thatemptyDir
and mounts that directory in the jobmanager and taskmanager containers to/opt/flink/lib
.