Effectively you can't disable them selectively; reason being that they are actually one and the same. The ultimate solution is to build flink-dist yourself, and exclude "flink-runtime-web" from it, which removes
the required files.

Note that being able to selectively disable them _for security reasons_ wouldn't do you much good as far as I can tell; if you have access to the REST API you can do anything the UI does. Similarly, if you can restrict access to the REST API, you also do that for the UI.

On 20.07.2018 18:14, Vino yang wrote:
Hi Vinay,

Did job manager run in node "myhost"? Did you check the port you specified open for remote access?

Can you try to start web UI, but just forbid its port?

----
Vino yang
Thanks.


On 2018-07-20 22:48 , Vinay Patil <mailto:vinay18.pa...@gmail.com> Wrote:

    Hi,

    We have disabled Flink Web UI for security reasons however we want
    to use REST Api for monitoring purpose. For that I have set
    jobmanager.web.port = -1 , rest.port=8888,


              rest.address=myhost


    But I am not able to access any REST api using
    https://myhost:8888/<endpoint>

    Is it mandatory to have Flink Web UI running or am I missing any
    configuration ?

    Regards,
    Vinay Patil


Reply via email to