<p>How do I map  a service containing a static webpage  under a subpath using ambassador in kubernetes ?</p>
<p>this is my yaml file</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: getambassador.io/v2
kind:  Mapping
metadata:
  name:  grafana
spec:
  prefix: /grafana/
  method: GET
  service: monitoring-grafana.default:80
  timeout_ms: 40000
</code></pre>
<p>**
and this is the response i get when trying to navigate</p>
<p>If you're seeing this Grafana has failed to load its application files</p>
<ol>
<li><p>This could be caused by your reverse proxy settings.</p>
</li>
<li><p>If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath</p>
</li>
<li><p>If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build</p>
</li>
<li><p>Sometimes restarting grafana-server can help
**</p>
</li>
</ol>

Ismael GraHms
<p>Have you read through the Monitoring page on the Ambassador Docs?  There's a bit about implementing Prometheus + Grafana if that helps: <a href="https://www.getambassador.io/docs/latest/howtos/prometheus/" rel="nofollow noreferrer">https://www.getambassador.io/docs/latest/howtos/prometheus/</a></p>
