GitLab and rancher both support monitoring using Prometheus and logging using elasticsearch. Both use a very similar setup. However GitLab and rancher expect the applications to live in different namespaces, so it’s impossible for both systems to share the same Prometheus and elasticsearch, which seems extremely redundant.
As far as I can tell the main issue is that GitLab and rancher are too opinionated about the namespaces they deploy the software. Does anyone have any idea on how to get the systems to play nice together and share the same Prometheus and elasticsearch?
I have attached the GitLab and rancher details below for those systems.
We have the exact same problem as OP and are trying to implement your workaround. Do I understand you correct, that you kept using the Rancher namespace for Prometheus and just only deployed the nginx reverse proxy in the gitlab-managed-apps namespace?