I see that if the app has the annotation defined already, this will create the following env vars with that info to allow the app to continue using the same port for scrapes/merges of the metrics.
- name: ISTIO_METAJSON_ANNOTATIONS value: | {"kubernetes.io/psp":"ibm-privileged-psp","prometheus.io/path":"/metrics","prometheus.io/port":"8080","prometheus.io/scrape":"true","prometheus.istio.io/merge-metrics":"true"} - name: ISTIO_PROMETHEUS_ANNOTATIONS value: '{"scrape":"true","path":"/metrics","port":"8080"}'
else it will look for “:80/metrics”.