I am facing some issues on consul where by health page reports service healthy and suddenly become not healthy. Please note that my current setup is 3 consul servers and the agents but i don’t have 8301 port open between all agents and some agents are on different subnet than other agents so is there a way to avoid the blinking status.
By default Consul requires that port 8301 be accessible to all clients within a single LAN gossip pool. Those clients can be on the same, or different layer 2/3 domains.
Consul Enterprise supports a feature called Network Segments which allows you to separate clients into separate gossip pools, effectively enabling you to restrict the gossip communication between nodes in your environment.