I have an Azure AKS cluster with a prometheus deployment that I want to use to monitor other servers in other VNETs. I am able to add security rules for to VNET for servers that have public IPs. This allowed my Prometheus to monitor these servers with public IPs.
However for servers with private IPs, do I need to setup VPC Peering? I have tried to add a VNET-Prometheus to the AKS cluster, and create a VPC peering between VNET-Prometheus and VNET-PRIVATE. However, the AKS pods are not using the Address space of VNET-Prometheus, and I am unable to connect to any of the private servers in VNET-PRIVATE.
For example, I have 5 servers in VNET-PRIVATE with private IPs. How do I setup the connection rules to allow my prometheus in AKS to connect to the private IPs of the 5 servers in VNET-PRIVATE?



