Flink on kubernetes -> shell deployment

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink on kubernetes -> shell deployment

Kaepke, Marc
Hi together,

I run Flink on kubernetes and I’m able to can access the web dashboard inside k8n.

My question is: How do I get access to the shell? I don’t want to deploy my job on the UI.


Thanks!
Best,
Marc
Reply | Threaded
Open this post in threaded view
|

Re: Flink on kubernetes -> shell deployment

Nico Kruber
If you have access to the web dashboard, you probably have access to the
Jobmanager in general and can submit jobs from your command line by passing

flink run --jobmanager <host:port> ...


I've looped in Patrick in case I am missing something kubernetes-specific here.


Nico

On Wednesday, 7 June 2017 16:09:07 CEST Kaepke, Marc wrote:
> Hi together,
>
> I run Flink on kubernetes and I’m able to can access the web dashboard
> inside k8n.
 
> My question is: How do I get access to the shell? I don’t want to deploy my
> job on the UI.
 
>
> Thanks!
> Best,
> Marc


signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Flink on kubernetes -> shell deployment

Kaepke, Marc
Hi Nico,

thanks for your help.

$ kubectl exex -it <pod name> /bin/bash
that was what I was looking for.

This command provides a shell directly into my job-manager instance.

Best,
Marc

> Am 08.06.2017 um 12:05 schrieb Nico Kruber <[hidden email]>:
>
> If you have access to the web dashboard, you probably have access to the
> Jobmanager in general and can submit jobs from your command line by passing
>
> flink run --jobmanager <host:port> ...
>
>
> I've looped in Patrick in case I am missing something kubernetes-specific here.
>
>
> Nico
>
> On Wednesday, 7 June 2017 16:09:07 CEST Kaepke, Marc wrote:
>> Hi together,
>>
>> I run Flink on kubernetes and I’m able to can access the web dashboard
>> inside k8n.
>
>> My question is: How do I get access to the shell? I don’t want to deploy my
>> job on the UI.
>
>>
>> Thanks!
>> Best,
>> Marc
>