<p>I'm installing Prometheus on GKE with Helm using the standard chart as in</p>

<p><code>helm install -n prom stable/prometheus --namespace hal</code></p>

<p>but I need to be able to pull up the Prometheus UI in the browser.  I know that I can do it with port forwarding, as in</p>

<p><code>kubectl port-forward -n hal svc/prom-prometheus-server 8000:80</code></p>

<p>but I'm being told "No, just expose it."  Of course, there's already a service so just doing</p>

<p><code>kubectl expose deploy -n hal prom-prometheus-server</code> </p>

<p>isn't going to work.  I assume there's some value I can set in values.yaml that will give me an external IP, but I can't figure out what it is.  </p>

<p>Or am I misunderstanding when they tell me "Just expose it"?</p>

<p>It is generally a very bad idea to expose Prometheus itself as it has no authentication mechanism, but you can absolutely set up a LoadBalancer service or Ingress aimed at the HTTP port if you want.</p>

<p>More commonly (and supported by the chart) you'll use Grafana for the public view and only connect to Prom itself via port-forward when needed for debugging.</p>
