I have aks,appgw , sample webapp ,public ip deployed in azure. In aks I installed prometheus and grafana using helm.
I can curl -L http:localhost.com:9090 (prometheus port -9090) in aks but can't access localhost:9090 in browser as my laptop and aks is in different network. I want to access prometheus and grafana with public IP of app gateway.
For eg:public ip is 10.0.2.2 I want to access prometheus by 10.0.2.2/prometheus and
access grafana by 10.0.2.2/ grafana. How to achieve this.