7f34cb4716
Adds a job which runs periodically and refreshes cluster.peer dns records. The problem is that when you restart all of the alertmanager instances in an environment like Kubernetes, DNS may contain old alertmanager instance IPs, but on startup (when Join() happens) none of the new instance IPs. As at the start DNS is not empty resolvePeers waitIfEmpty=true, will return and "islands" of 1 alertmanager instances will form. Signed-off-by: Povilas Versockas <p.versockas@gmail.com> |
||
---|---|---|
.. | ||
clusterpb | ||
advertise.go | ||
advertise_test.go | ||
channel.go | ||
channel_test.go | ||
cluster.go | ||
cluster_test.go | ||
delegate.go |