istio / old_issues_repo

Deprecated issue-tracking repo, please post new issues or feature requests to istio/istio instead.
37 stars 9 forks source link

Unable to access the grafana dashboard. #395

Open casionone opened 6 years ago

casionone commented 6 years ago

I hava followed this guide to expose nodeport of grafana

Visualizing metrics with Grafana Like Zipkin and Prometheus, Istio enables Grafana with a service type of ClusterIP. Run the following commands to expose a service type of NodePort for access to Grafana from an external environment:

kubectl expose service istio-grafana --type=NodePort \
    --name=istio-grafana-svc --namespace istio-system
export GRAFANA_URL=$(kubectl get po -l app=grafana -n \
    istio-system -o 'jsonpath={.items[0].status.hostIP}'):$(kubectl get svc \
    istio-grafana-svc -n istio-system -o \
    'jsonpath={.spec.ports[0].nodePort}')
echo http://${GRAFANA_URL}/

You can now access http://${GRAFANA_URL}/ from your browser to view the Grafana web page.

...........

I can get data from promethus image but unable to access the grafana dashboard.
image

FirstDiscoverer commented 5 years ago

兄dei,你的内存占用好高啊

FirstDiscoverer commented 5 years ago

这个怎么解决?