<p>I have installed Grafana from this git repo <a href="https://github.com/ibrahiem94/prometheus-kubernetes" rel="nofollow noreferrer">Grafana-Kubernates</a>.
After the installation, Grafana web monitor link is available at <code>{aws LB}/api/v1/namespaces/monitoring/services/grafana/proxy</code>. But when I navigate to any link, it is redirected to <code>{aws LB}/{service like dashboard or datasource}</code> insted of <code>{aws LB}/api/v1/namespaces/monitoring/services/grafana/proxy/{dashboard or datasource}</code>.</p>

<p>How can I solve this?</p>

Ibrahim Mohamed
<blockquote>
  <p>how can I solve this?</p>
</blockquote>

<p>Exposing functionality outside of the cluster is designed to be done with either a <code>Service</code> of type <code>LoadBalancer</code>, where kubernetes will create the ELB on your behalf, or with an <code>ingress-controller</code> such that you only have to have a single TCP/IP port or ELB but that dispatches to all the <code>Service</code>s in the cluster based on <code>Host:</code> header virtual-hosting.</p>

<p>In short, you are trying to use <code>kubectl</code> in a manner that it wasn't designed to be used.</p>
