Hello, I am using flink with kubernetes with Flink...
# troubleshooting
c
Hello, I am using flink with kubernetes with Flink operator. I want to set up logs in json format for which I have to add some external jars to flink classpath. How can I add external jars using FlinkDeployment resource?
Can someone help me with this?
b
You can build a new flink/flink operator image on top of the official one and add the jar to the lib directory. All jars in lib dir are loaded to the classpath when the pod starts.
Copy code
FROM flink:java8

RUN cd /opt/flink/lib && curl -O <maven-jar-url>

USER flink