/p><p>First execute the following command:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl -n istio-system edit cm prometheus -o yaml
</code></pre><p>Then add configurations for the <em>remote</em> clusters (replacing the ingress domain and cluster name for each cluster) and
add one configuration for the <em>local</em> cluster:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>scrape_configs:
- job_name: &#39;federate-{{REMOTE_CLUSTER_NAME}}&#39;
  scr