Deploy Istio Gateway for Grafana¶
Recall that we deleted the ingress we created for Grafana. Now, let's enable external access for Grafana using the Istio Gateway.
Step 1: View Istio Proxy Configuration¶
Note down the current proxy configuration:
# Retrieve proxy configuration
istioctl proxy-config routes svc/istio-ingressgateway -n istio-system
Step 2: Deploy Istio Gateway for Grafana¶
Prepare istio manifests for Grafana as follows:
Make sure to replace the value of external-dns.alpha.kubernetes.io/target
with the load balancer DNS that was created by ingress we created for Istio.
Assuming your folder structure looks like the one below:
Apply the manifests to deploy the istio gateway for grafna:
Step 3: View the Updated Istio Proxy Configuration¶
View the updated proxy configuration:
# Retrieve proxy configuration
istioctl proxy-config routes svc/istio-ingressgateway -n istio-system
Step 4: Verify DNS Record in Route 53¶
Go to AWS Route 53 and verify whether a DNS record was created for the host we defined in the virtual service, pointing to the Istio load balancer.
Step 5: Access Grafana¶
Open any browser on your local host machine and hit the Grafana host URL to access grafna: