-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
ConsulService discovery by ConsulService discovery by ConsulService DiscoveryOcelot feature: Service DiscoveryOcelot feature: Service DiscoverybugIdentified as a potential bugIdentified as a potential bug
Description
Expected Behavior / New Feature
The consul service discovery provider should check if the node.Name could be a DNS/Host Name, otherwise return the service url.
Actual Behavior / Motivation for New Feature
The consul service provider doesn't check if the node.Name is a host name. Depending on service discovery configuration, the node.Name might not be a host name.
https://developer.hashicorp.com/consul/docs/agent
Node name: This is a unique name for the agent. By default, this is the hostname of the machine, but you may customize it using the -node flag.
Steps to Reproduce the Problem
- Change the agent name, use something that is not related to the hostname.
- Try to use the Consul Service Discovery
Metadata
Metadata
Assignees
Labels
ConsulService discovery by ConsulService discovery by ConsulService DiscoveryOcelot feature: Service DiscoveryOcelot feature: Service DiscoverybugIdentified as a potential bugIdentified as a potential bug