How to reuse host's monitoring stack in vclusters?
Hello!
First of all, many thanks for such a great tool!
I have a question and seeking for your advise: I have a full VictoriaMetrics stack in the host cluster (VMCluster, VMAgent, VMAlert, alertmanager, prometheus-node-exporter, kube-state-metrics) and wondering how can I reuse it from the vclusters? I don't want to deploy it once again, so it would be duplicated/conflicting (in case of daemonset node-exporter) with the host's one. Is there any way to sync/delegate monitoring capabilities to the host cluster, meanwhile having the services accessible from the virtual cluster? For example, I'd like to create a prometheus datasource in vcluster's Grafana, pointing to the host's cluster vmselect service. Keeping in mind using kube-rbac-proxy in vmetrics from host cluster to isolate metrics, specific to the particular vcluster. I didn't find a way to sync services from the host. There is a way to have an Ingress for VMSelect in the host cluster, but it seems like an overhead to open access to metrics outside the cluster via Ingress resource.
Thanks in advance!
See https://github.com/loft-sh/vcluster/issues/2675