dgraph-alpha ClusterIP None <none> 7080/TCP 14d
dgraph-alpha-public ClusterIP 172.30.197.173 <none> 8080/TCP,9080/TCP 14d
dgraph-ratel-public ClusterIP 172.30.64.183 <none> 8000/TCP 14d
dgraph-zero ClusterIP None <none> 5080/TCP 14d
dgraph-zero-public ClusterIP 172.30.93.187 <none> 5080/TCP,6080/TCP 14d
have HA setup for dgraph want to access the live loader used the following command :-:
dgraph live --alpha serverip:9080 -f sample.rdf --zero serverip:5080
getting the following error:-
Running transaction with dgraph endpoint: serverip:9080
2023/02/17 17:41:56 context deadline exceeded
Unable to connect to zero, Is it running at serverip:5080?
github.com/dgraph-io/dgraph/x.Checkf
/home/runner/work/dgraph/dgraph/x/error.go:51
github.com/dgraph-io/dgraph/dgraph/cmd/live.setup
/home/runner/work/dgraph/dgraph/dgraph/cmd/live/run.go:634
github.com/dgraph-io/dgraph/dgraph/cmd/live.run
/home/runner/work/dgraph/dgraph/dgraph/cmd/live/run.go:788
github.com/dgraph-io/dgraph/dgraph/cmd/live.init.0.func1
/home/runner/work/dgraph/dgraph/dgraph/cmd/live/run.go:136
github.com/spf13/cobra.(*Command).execute
/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830
github.com/spf13/cobra.(*Command).ExecuteC
/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
/home/runner/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/dgraph-io/dgraph/dgraph/cmd.Execute
/home/runner/work/dgraph/dgraph/dgraph/cmd/root.go:78
main.main
/home/runner/work/dgraph/dgraph/dgraph/main.go:99
runtime.main
/opt/hostedtoolcache/go/1.18.5/x64/src/runtime/proc.go:250
runtime.goexit
/opt/hostedtoolcache/go/1.18.5/x64/src/runtime/asm_amd64.s:1571