To turn off Alertmanager clustering in the Linux package, you set cluster.listen-address to an empty string. The empty string never reached the process. Alertmanager bound *:9094 anyway.
This is the story of omnibus-gitlab!10089 . I'll cover why empty? was the wrong check, the first version that also changed Prometheus and redis_exporter, and the review comments that narrowed the fix and tightened the specs.
The issue: a flag that vanished on reconfigure
The issue was omnibus-gitlab#10213 , opened by Mikael. The documented way to disable HA clustering is an explicit empty value in /etc/gitlab/gitlab.rb :
alertmanager [ 'flags' ] = { 'cluster.listen-address' => '' }
Enter fullscreen mode
Exit fullscreen mode
After gitlab-ctl reconfigure , that value was not in the generated run script. Alertmanager then used its default cluster listener on *:9094 .
The drop happened in PrometheusHelper#kingpin_flags :
next if flag_value .…