helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Alertmanager deployment in vm/victoria-metrics-alert doesn't support IPv6 only k8s cluster

Open fayak opened this issue 1 year ago • 2 comments

Hello,

I tried deploying vm/victoria-metrics-alert with alertmanager enabled on my IPv6 only k8s cluster, but some hardcoded values in the chart prevent me from doing so.

In victoria-metrics-alert/templates/alertmanager-deployment.yaml

- --web.listen-address=0.0.0.0:9093
- --cluster.advertise-address=$(POD_IP):6783

should be configurable somehow to cope with IPv6 only, as the IP need some renaming/brackets.

I'm not sure what the best implementation for such configuration should be.

Best regards,

fayak avatar Feb 12 '24 16:02 fayak

Hello @fayak, https://github.com/VictoriaMetrics/helm-charts/pull/883 added support of specifying listen address of Alertmanager via alertmanager.listenAddress. This was included in release v0.9.1 of victoria-metrics-alert chart. Could you please confirm if that helps in your case?

zekker6 avatar Feb 23 '24 08:02 zekker6

Hello @zekker6 ! Thank you for the commit, I need to test in my setup because I think I have to rewrite - --cluster.advertise-address=$(POD_IP):6783 to - --cluster.advertise-address=[$(POD_IP)]:6783 as well

fayak avatar Feb 23 '24 13:02 fayak