Giving access to the Flink web interface through an Red Hat OpenShift route

Optional: For the Flink web user interface to be accessible from outside the cluster, set the appropriate configuration parameter in the IBM Cloud Pak® for Business Automation custom resource.

About this task

Access to the Flink user interface is helpful if no events are flowing to Elasticsearch. Flink job logs report errors, which you can explore to diagnose and resolve problems, as indicated in Troubleshooting Apache Flink jobs.

Warning: Opening access to the Flink interface might introduce a security vulnerability if no protection is set up at ingress level. Therefore, enable access only for debugging or monitoring purposes. The Flink web interface is not supported nor recommended for production.

Procedure

  1. For a route to the Flink web interface to be automatically created, set the spec.bai_configuration.flink.create_route parameter to true in the custom resource.
    spec:
      bai_configuration:
        flink:
          create_route: true
  2. Retrieve the Flink web user interface URL and credentials.