question

rashmimisal07_190319 avatar image
rashmimisal07_190319 asked bettina.swynnerton commented

Why can't I connect to Grafana or Prometheus UI in the week 5 workshop exercise?

tried to connect with grafana UI through URL http://localhost:3000 or prometheus UI through URL http://localhost:9090 but getting error This site can’t be reachedlocalhost refused to connect..

workshop
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

bettina.swynnerton avatar image
bettina.swynnerton answered bettina.swynnerton commented

Hi @rashmimisal07_190319,

are you working locally or on the cloud instance? It looks to me as if the ports are not yet forwarded:

kubectl -n cass-operator port-forward --address 0.0.0.0 service/grafana-service 3000:3000&
kubectl -n cass-operator port-forward --address 0.0.0.0 service/prometheus-operated 9090:9090&

Have you done this step?

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

rashmimisal07_190319 avatar image rashmimisal07_190319 commented ·

yes, I already follow all the steps. still same error


0 Likes 0 ·
bettina.swynnerton avatar image bettina.swynnerton ♦♦ rashmimisal07_190319 commented ·

Hi @rashmimisal07_190319,

would you let me know if you are running this locally? Or on the cloud instance?

Thanks!

0 Likes 0 ·