druid-io / druid-operator

Druid Kubernetes Operator
Other
205 stars 93 forks source link

cannot access web console #86

Open roee-hershko opened 4 years ago

roee-hershko commented 4 years ago

i deployed tiny-cluster like in the example, it created 4 services:

druid-operator-metrics                        ClusterIP   10.20.15.201   <none>        8383/TCP,8686/TCP                     8m46s
druid-production-druid-cluster-brokers        ClusterIP   None           <none>        8088/TCP                              8m17s
druid-production-druid-cluster-coordinators   ClusterIP   None           <none>        8088/TCP                              8m17s
druid-production-druid-cluster-historicals    ClusterIP   None           <none>        8088/TCP                              8m17s
druid-production-druid-cluster-routers        ClusterIP   None           <none>        8888/TCP                              8m17s

When i am trying to kubectl port-forward to the routers, it doesn't work, i am getting connection refused:

Forwarding from 127.0.0.1:8888 -> 8888
Forwarding from [::1]:8888 -> 8888
Handling connection for 8888
Handling connection for 8888
E1014 01:23:45.129948    6820 portforward.go:400] an error occurred forwarding 8888 -> 8888: error forwarding port 8888 to pod f2e40aaba301d4927439f392520943466c69495edb9dd0b948d19f33c57f6959, uid : exit status 1: 2020/10/13 22:23:42 socat[71483] E connect(5, AF=2 127.0.0.1:8888, 16): Connection refused
E1014 01:23:45.130976    6820 portforward.go:400] an error occurred forwarding 8888 -> 8888: error forwarding port 8888 to pod f2e40aaba301d4927439f392520943466c69495edb9dd0b948d19f33c57f6959, uid : exit status 1: 2020/10/13 22:23:42 socat[71484] E connect(5, AF=2 127.0.0.1:8888, 16): Connection refused
Handling connection for 8888
E1014 01:23:45.499848    6820 portforward.go:400] an error occurred forwarding 8888 -> 8888: error forwarding port 8888 to pod f2e40aaba301d4927439f392520943466c69495edb9dd0b948d19f33c57f6959, uid : exit status 1: 2020/10/13 22:23:43 socat[71485] E connect(5, AF=2 127.0.0.1:8888, 16): Connection refused
Handling connection for 8888
E1014 01:23:45.859663    6820 portforward.go:400] an error occurred forwarding 8888 -> 8888: error forwarding port 8888 to pod f2e40aaba301d4927439f392520943466c69495edb9dd0b948d19f33c57f6959, uid : exit status 1: 2020/10/13 22:23:43 socat[71490] E connect(5, AF=2 127.0.0.1:8888, 16): Connection refused

i couldn't find any documentation regarding on how to access the web console, any ideas?

AdheipSingh commented 4 years ago

@roee-hershko can you check the pod logs and see whats going on ? plus i hope you are using the right command to port-forward , you can either port-forward svc or pod directly BTW tiny cluster is just a reference config in order to create your own configs