How to permanently stop alertmanager-operated service from using port 9093 on Kubernetes?

11/22/2021

I installed Prometheus chart kube-prometheus-stack-19.2.3 on my cluster. There is an issue with the service alertmanager-operated as it uses port 9093 as one of its web ports. This is the same port as another one of my applications and so it prevents that deployment from starting up.

I can edit the service to use another port and it works fine but there is something triggering it to randomly switch back to using port 9093 which is causing my application to crash. I can't seem to figure out what causes it to revert - sometimes it can go a few days and other times it switches back after a minute or so. Any way to permanently change the port?

-- DeirdreRodgers
kubernetes
port
prometheus-alertmanager

0 Answers