Detect Prometheus on an added cluster to see function invocations.
This MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27173 will allow for Knative to be detected when adding an existing cluster with Knative pre-installed to a new project. It brings the benefit of being able to deploy functions of a different namespace to an existing cluster. So the functions become discoverable on the Serverless tab.
Although, we will also need to deal with Prometheus discovery to be able to show the functions invocation count chart on the function detail page.
In the below case, Prometheus was pre-installed in the added cluster:
Edited by Daniel Gruesso