I got Consul deployed in EKS via HELM. So far so good.
I got into figuring out the best way to connect external agents (clients) to my cluster, which I decided to be using nodeport to expose the service on each node.
Now I got all the networking done except than when using the following retry-join option:
"retry_join": [“provider=aws tag_key=Name tag_value=my-tag”]
The problem is:
* Failed to join my_server_ip: dial tcp my_server_ip:8301: connect: connection refused
Since the nodeport exposed is 30301, then my server can’t be found.
I was not able to find a way to specify the port to be used by a agent to connect to a server.
I know that I can use a proxy to get that sorted out (I was thinking on Apache or Nginx), but is there a way to tell the agent to look for the server on a custom port?
Thanks in advance!