Skip to content
Advertisement

How to access istio created dashboard

I installed istio on kubernetes without helm.

I can see pods and services are created in istio-system namespace.

All service like grafana, Prometheus are created and their ports are not exposed.

As load-balancer-service is created so that one load balancer is also created in AWS, I wanted to access grafana, prometheus etc dashboard from an external network through newly created load balancer endpoint but that dashboard is not accessible from load balancer endpoint.

I tried port forwarding recommended by istio docs:

JavaScript

These is working with only http://localhost:3000 but not accessible with http://publicip:3000

JavaScript

As shown in above I’m trying to access grafana dashboard using load balncer as well as port forwarding but I haven’t get grafana dashboard

Advertisement

Answer

You can create Istio Gateway and VirtualService in order to forward your requests to grafana service running by default on port 3000

Firstly, let’s check grafana and istio-ingressgateway service

JavaScript

So, we have grafana running service listening on port 3000, and default istio-ingressgateway LoadBalancer service running with assigned public ip address.

Then we create gateway to use this default LoadBalancer.

JavaScript

Then configure route to grafana service for traffic entering via the this gateway:

JavaScript

Then hit the http://<public_ip_istio_ingressgateway>, you should see the grafana dashboard

I hope it will be helpful for you.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement