Search code examples
kubernetesmicroservicesgrafanaminikubeistio

How to access grafana-istio dashboard using ip address?


I am using minikube to run kubernetes cluster. I followed the setup given in Istio Docs to install istio plugin. I am able to access the dashboard using localhost:3000 but unable to access using ip:3000.

Checked firewall. It isn’t blocking any port.


Solution

  • You need to make grafana service type NodePort for this. You can change it with $ kubectl edit svc grafana -n istio-system and change .spec.type from ClusterIP to NodePort then save and quit editor.

    To access grafana $ kubectl get svc grafana -n istio-system and get NodePort field then access it via ip:$NodePortValue