Re: Flink on Minikube

2021-03-26 Thread Robert Metzger
Hey Sandeep, here's a project I've recently worked on, that deploys Flink on Minikube: https://github.com/rmetzger/flink-reactive-mode-k8s-demo The project is pretty big, but I guess you can pick the bits related to the Flink deployment on minikube. On Thu, Mar 25, 2021 at 7:48 PM Sandeep khanzod

Re: Flink on Minikube

2021-03-25 Thread Sandeep khanzode
Hi Arvid, Thanks, will set the scope to Provided and try. Are there public examples in GitHub that demonstrate a sample app in Minikube? Sandeep > On 23-Mar-2021, at 3:17 PM, Arvid Heise wrote: > > Hi Sandeep, > > please have a look at [1], you should add most Flink dependencies as provide

Re: Flink on Minikube

2021-03-23 Thread Arvid Heise
Hi Sandeep, please have a look at [1], you should add most Flink dependencies as provided - exceptions are connectors (or in general stuff that is not in flink/lib/ or flink/plugins). [1] https://ci.apache.org/projects/flink/flink-docs-stable/dev/project-configuration.html#setting-up-a-project-ba

Re: Flink on Minikube

2021-03-22 Thread Sandeep khanzode
Hi Arvid, I copy the JAR to the usrlib folder. This works in the Cloud EKS cluster. I wanted to set this up for my testing purposes. Below is the Dockerfile: FROM apache/flink:1.12.1-java11 RUN mv /opt/flink/opt/flink-queryable-state-runtime_2.12-1.12.1.jar /opt/flink/lib/flink-queryable-state-

Re: Flink on Minikube

2021-03-22 Thread Arvid Heise
Hi Sandeep, The first error definitively indicates a classloading issue, which may also be the cause for the second error. Can you describe where you put your jar inside the docker image and which execution mode you are using? As a general rule, the jar is not supposed to go into flink/lib. Also