Thanks! It has indeed worked out of the box by just specifying cluster.peer.

On Monday, November 16, 2020 at 9:44:07 AM UTC+2 [email protected] 
wrote:

> The listen address is the one that alertmanager binds to. Generally, this 
> can be 0.0.0.0 (all interfaces), I believe that is the default and thus 
> sometimes omitted.
>
> It will try to guess which address it can be reached at by other AMs 
> (which address it should advertise to them). In some circumstances this 
> doesn't work right. A Kubernetes pod probably isn't one of those 
> circumstances, but specifying the address explicitly doesn't hurt either.
>
> So in short, I would expect everything to work out of the box in a 
> standard Kubernetes pod, but you can be more explicit if you want to be.
>
> /MR
>
>
> On Sat, Nov 14, 2020, 20:41 Dudi Cohen <[email protected]> wrote:
>
>> Hi all, I would like to configure Alertmanager for high availability in 
>> k8s.
>> Can anyone please explain the difference 
>> between `cluster.advertise-address` and `cluster.listen-address`? I've seen 
>> either one used in different examples, sometimes with `0.0.0.0` and 
>> sometimes with `$(POD_IP)` so i'm also not sure what the address should be. 
>> The documentation is a bit unclear regarding the differences: 
>> "The cluster.advertise-address flag is required if the instance doesn't 
>> have an IP address that is part of RFC 6890 
>> <https://tools.ietf.org/html/rfc6890> with a default route."
>> Thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Prometheus Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-developers/4b78b5fd-4e04-4276-a8d0-6388d8398413n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-developers/4b78b5fd-4e04-4276-a8d0-6388d8398413n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/1fbc9568-2b8d-46bc-90fc-9739cf7a6c47n%40googlegroups.com.

Reply via email to