<p>I need to do a POC on collecting k8s application metrics using Istio + Prometheus. 
My prometheus is running on a VM. I do not want to run Prometheus as a container in kubernetes.<br>
Can anyone help me getting the right documentation for this? 
Or suggest how can I do this without running prometheus as a pod in k8s?</p>

khushboo sharma
<p>You can update the <a href="https://github.com/istio/istio/blob/1.4.5/install/kubernetes/helm/istio/charts/prometheus/templates/configmap.yaml" rel="nofollow noreferrer">config-map</a> in <a href="https://github.com/istio/istio/blob/1.4.5/install/kubernetes/helm/istio/charts/prometheus/templates/configmap.yaml" rel="nofollow noreferrer">helm</a> and istio adapter will take care for other stuff.</p>
<p>you can find more details at this <a href="https://github.com/istio/istio/issues/2920" rel="nofollow noreferrer">github issue</a></p>
<hr />
<p>Take a look at this <a href="https://istiobyexample.dev/prometheus/" rel="nofollow noreferrer">example</a>.</p>
<blockquote>
<p>You can bring your own Prometheus to Istio, with three quick steps.</p>
<ul>
<li>First, update your Prometheus configuration. Prometheus relies on a scrape config model, where targets represent /metrics endpoints, ingested by the Prometheus server.</li>
<li>Second, update your Prometheus deployment to mount Istio's certificates into Prometheus. This allows Prometheus to scrape Istio workloads when mutual TLS is enabled. To do this, mount in the istio.default secret into your Prometheus deployment YAML</li>
<li>Lastly, update Istio's configuration to use a custom Prometheus address.</li>
</ul>
</blockquote>
