0

I've installed a highly available dgraph cluster using kubernetes. Now I want to know how to access the dgraph ratel UI. I cannot access it by using master's-ip:8000. In simple words, I need the dgraph-ratel's URL.

AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58

2 Answers2

2

You can also access dgraph-ratel from outside the cluster in case you use cloud environment.

Obtain External IP for dgraph-ratel-public service:

kubectl get svc dgraph-ratel-public -o wide

And you can reach dgraph-ratel on the address: http://<External IP>:8000

Nick_Kh
  • 5,089
  • 2
  • 10
  • 16
1

The doc you mentioned in the comment says the dgraph-ratel is using port 8000. So after port-forwarding use http://localhost:8000.

Shudipta Sharma
  • 5,178
  • 3
  • 19
  • 33
  • im using it in cloud environment. kubectl get svc dgraph-ratel-public -o wide this cmd will show me the ip address to access, but the external ip is in pending state – AATHITH RAJENDRAN Nov 22 '18 at 04:39
  • If you are using a real cluster, then you should get an array of external ips in your `LoadBalancer` type service yaml. But if you are using minikube then you will never get external ips. It will always remain in pending state. – Shudipta Sharma Nov 22 '18 at 08:19