consul-on-kubernetes icon indicating copy to clipboard operation
consul-on-kubernetes copied to clipboard

Web ui doesnt work

Open itsecforu opened this issue 4 years ago • 1 comments

Cant open web ui. i got 3 pods on 3 nodes. But noone on master node. All on workers

kubectl -n default get po -l app=consul,component=server NAME READY STATUS RESTARTS AGE consul-0 1/1 Running 0 3h56m consul-1 1/1 Running 0 3h56m consul-2 1/1 Running 0 4m19s

if I make: kubectl port-forward consul-0 8500:8500 Forwarding from 127.0.0.1:8500 -> 8500 Forwarding from [::1]:8500 -> 8500

I got:

consul members Node Address Status Type Build Protocol DC Segment consul-0 10.233.103.96:8301 alive server 1.4.0rc1 2 dc1 <all>

So consul-o works on another node.

If i try to open it : kubectl port-forward --address 10.2.67.205 consul-0 8500:8500 Unable to listen on port 8500: Listeners failed to create with the following errors: [Unable to create listener: Error listen tcp4 10.2.67.205:8500: bind: cannot assign requested address] error: Unable to listen on any of the requested ports: [{8500 8500}]

service: kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE consul ClusterIP None <none> 8500/TCP,8443/TCP,8400/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8300/TCP,8600/TCP 3h38m

What can I do with that?

itsecforu avatar Dec 05 '19 10:12 itsecforu

no ideas?

itsecforu avatar Apr 01 '20 15:04 itsecforu