How to change the flink web-ui jobServer?

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

How to change the flink web-ui jobServer?

LakeShen
Hi community,
       now I am moving the flink job to k8s,and I plan to use the ingress
to show the flink web ui  , the problem is that fink job server aren't
correct, so I want to change the flink web-ui jobserver ,I don't find the
any method  to change it ,are there some method to do that?
       Thanks to your reply.

Best wishes,
LakeShen
Reply | Threaded
Open this post in threaded view
|

Re: How to change the flink web-ui jobServer?

Arvid Heise
Hi LakeShen,

you can change the port with

conf.setInteger(RestOptions.PORT, 8082);

or if want to be on the safe side specify a range

conf.setString(RestOptions.BIND_PORT, "8081-8099");


On Mon, Mar 9, 2020 at 10:47 AM LakeShen <[hidden email]> wrote:

> Hi community,
>        now I am moving the flink job to k8s,and I plan to use the ingress
> to show the flink web ui  , the problem is that fink job server aren't
> correct, so I want to change the flink web-ui jobserver ,I don't find the
> any method  to change it ,are there some method to do that?
>        Thanks to your reply.
>
> Best wishes,
> LakeShen
>
Reply | Threaded
Open this post in threaded view
|

Re: How to change the flink web-ui jobServer?

LakeShen
Ok, thanks! Arvid

Arvid Heise <[hidden email]> 于2020年3月10日周二 下午4:14写道:

> Hi LakeShen,
>
> you can change the port with
>
> conf.setInteger(RestOptions.PORT, 8082);
>
> or if want to be on the safe side specify a range
>
> conf.setString(RestOptions.BIND_PORT, "8081-8099");
>
>
> On Mon, Mar 9, 2020 at 10:47 AM LakeShen <[hidden email]>
> wrote:
>
>> Hi community,
>>        now I am moving the flink job to k8s,and I plan to use the ingress
>> to show the flink web ui  , the problem is that fink job server aren't
>> correct, so I want to change the flink web-ui jobserver ,I don't find the
>> any method  to change it ,are there some method to do that?
>>        Thanks to your reply.
>>
>> Best wishes,
>> LakeShen
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to change the flink web-ui jobServer?

tison
IIRC Flink on Kubernetes doesn't support configure rest port as port range.

Maybe Yang(in cc) can give more information and if so, our current logic
only take care of RestOptions.PORT but not RestOptions.BIND_PORT, which
will be a bug.

Best,
tison.


LakeShen <[hidden email]> 于2020年3月15日周日 上午11:25写道:

> Ok, thanks! Arvid
>
> Arvid Heise <[hidden email]> 于2020年3月10日周二 下午4:14写道:
>
>> Hi LakeShen,
>>
>> you can change the port with
>>
>> conf.setInteger(RestOptions.PORT, 8082);
>>
>> or if want to be on the safe side specify a range
>>
>> conf.setString(RestOptions.BIND_PORT, "8081-8099");
>>
>>
>> On Mon, Mar 9, 2020 at 10:47 AM LakeShen <[hidden email]>
>> wrote:
>>
>>> Hi community,
>>>        now I am moving the flink job to k8s,and I plan to use the
>>> ingress to show the flink web ui  , the problem is that fink job server
>>> aren't correct, so I want to change the flink web-ui jobserver ,I don't
>>> find the any method  to change it ,are there some method to do that?
>>>        Thanks to your reply.
>>>
>>> Best wishes,
>>> LakeShen
>>>
>>