Auto deployed prometheus can only be used in one project.
Summary
After installing prometheus on Kubernetes it ends up in the gitlab-managed-apps
namespace. The integration in Gitlab is automatically enabled where this happened; but other projects now can no longer install Prometheus, not can they enable monitoring.
Steps to reproduce
- Add a kubernetes cluster for project1
- Install tiler, ingress, prometheus
- Verify that monitoring is enabled
- Add the same kubernetes cluster for project2
- Cannot install tiler, ingress, prometheus (expected since they are already installed)
- Monitoring integration is not set up for project2; and there doesn't seem to be an API url for the deployed prometheus.