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.
Asked
Active
Viewed 565 times
0
-
Did you install it in minikube or in a real cluster? – Shudipta Sharma Nov 21 '18 at 10:31
-
in a real cluster, used these instruction https://docs.dgraph.io/deploy/#ha-cluster-setup-using-kubernetes -shudipta-sharma – AATHITH RAJENDRAN Nov 21 '18 at 13:10
2 Answers
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
-
-
Usually it takes some time once Cloud provider propagates External IP for `LoadBalancer` service – Nick_Kh Nov 30 '18 at 10:18
-
its 5days since ive installed dgraph, but the ratle public is still in a pending state. @mk_sta – AATHITH RAJENDRAN Nov 30 '18 at 12:42
-
Check `dgraph-ratel-public` service to catch any event there: `kubectl describe svc dgraph-ratel-public`. – Nick_Kh Dec 03 '18 at 13:10
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