Application Mode Start Using Restful API

2023-07-06 Thread Xiao Ma
Hello, I am wondering if there is any way to start a flink application mode through restful api in k8s? Or other Java APIs? Thank you very much *Xiao Ma*

Re: Application Mode Start Using Restful API

2023-07-06 Thread Alexey Novakov via user
Hi Xiao, Do you mean like sending a REST API request to the K8s API Server to start a new Flink job? If - yes, then it is possible today via Flink Kubernetes Operator. Best regards, Alexey On Thu, Jul 6, 2023 at 5:20 PM Xiao Ma wrote: > Hello, > > I am wondering if there is any way to start a

Re: Application Mode Start Using Restful API

2023-07-06 Thread Xiao Ma
Hi Alexey, Yes, sending a REST API request to start an Application mode flink cluster, is it doable for the flink operator right now? Thank you. *Xiao Ma* On Thu, Jul 6, 2023 at 12:19 PM Alexey Novakov wrote: > Hi Xiao, > > Do you mean like sending a REST API request to the K8s API Server to

Re: Application Mode Start Using Restful API

2023-07-07 Thread Alexey Novakov via user
Hi Xiao. I think you need to look at this example: https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/try-flink-kubernetes-operator/quick-start/#submitting-a-flink-job Best regards, Alexey On Thu, Jul 6, 2023 at 7:02 PM Xiao Ma wrote: > Hi Alexey, > > Yes, sending a RE

Re: Application Mode Start Using Restful API

2023-07-07 Thread Xiao Ma
Hi Alexey, Thank you for the reply. So the link pasted is to start a job though the kubectl command. Is there a way to start an Application Mode job through the RESTful Java API, instead of the command line? Thank you *Xiao Ma* On Fri, Jul 7, 2023 at 3:46 AM Alexey Novakov wrote: > Hi Xiao.

Re: Application Mode Start Using Restful API

2023-07-07 Thread Yaroslav Tkachenko
Hi Xiao, I don't believe it's possible for the application mode. On Fri, Jul 7, 2023 at 12:20 PM Xiao Ma wrote: > Hi Alexey, > > Thank you for the reply. > > So the link pasted is to start a job though the kubectl command. Is there > a way to start an Application Mode job through the RESTful Ja