Accessing prometheus alertmanager #4375
-
Hello there, Now I want to add alerting. In kube-prometheus-stack/release.yaml I enabled alertmanager. I get an additional pod:
after a port forward I can access alertmanager UI
I add Provider, Secret and Alert
to force an alert I misconfigure the URL in a GitRepository. notification-controllers log state:
in alertmanager I see no log entries. alert manager is accesible from notification-controller
gives a reasonable output. I did not find a working example for my use case. Can you please give advice how to get this working? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@martin0598 - you have Also, did you setup apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Provider
metadata:
name: alertmanager
namespace: flux-system
spec:
type: alertmanager
address: http://kube-prometheus-stack-alertmanager.monitoring:9093/api/v2/alerts/ |
Beta Was this translation helpful? Give feedback.
@martin0598 - you have
http
two times in theaddress: http://admin:flux@http://kube-prometheus-stack....
Also, did you setup
admin:flux
user/password in Alertmanager? I also testing the same setup right now - haven't deployed it yet. My provider yaml looks like this (I'm trying to use alertmanager address inline, instead of via Secret):