-
Notifications
You must be signed in to change notification settings - Fork 385
Consul client is not exposing the 8500 port as mentioned in guide #23
Comments
On further checking found that it's exposing the port 8500
While trying to join using the 8500 port of minikube machine still I am facing the same issue.
But I can see the list of consul servers from the K8 consul client.
|
NodePort services expose ports starting at 30k as far as I recall |
@mmisztal1980 Yes, in this case by default consul client deployed using helm is using hostport but using the minikube machine and hostport 8500 I can't join the external (running outside of K8) consul client with consul running on k8. |
Currently, the client agents Are you trying to have a Consul cluster created with nodes outside of the K8S cluster? Just trying to understand what you're trying to do. |
@mitchellh Sorry for late response. consul cluster is running on top of kubernetes minikube machine hosted on Mac. Started another docker-machine and confirmed that from docker machine I am able to reach the minikube setup. Started consul client agent docker container on docker-machine and I want this consul client agent docker to join the consul cluster running on K8. |
After deploying consul cluster using helm. Created one service for consul client.
Confirmed from docker-machine that I can hit the service.
but still when trying to consul agent on docker-machine i am getting the following error not sure what's going wrong.
|
Currently you need your Pod IPs to be routable from wherever else you're running your Consul agents. |
External servers are now supported thanks to #289 |
It's mentioned in the guide that consul client will expose the port 8500 on host machine but after deploying the consul using helm chart client is not exposing any port on host machine.
I would suggest to run this in host mode so that client ports are available for other clients which are outside K8 to connect with consul running on K8.
I tried to create the service using NodePort so that I can use that port to connect my external consul client with through the consul client which is running as DS in K8 but no luck.
But when the external consul client is trying to register with the consul running in k8 it's getting failed with the following error.
The text was updated successfully, but these errors were encountered: