flink on kubernetes load external jars to cluster flink on kubernetes load external jars to cluster kubernetes kubernetes

flink on kubernetes load external jars to cluster


You could use the config option pipeline.classpaths which takes a semicolon separated list of classpaths. This config option is read when you run the Flink client. The classpaths will be added to the generated Flink JobGraph before it is submitted to the cluster. Note, that the classpaths must be accessible from the cluster nodes.

pipeline.classpaths: file:///mnt/external-jars/MyJar.jar;file:///foobar/other-jars/MyJar2.jar