Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-prometheus-stack unable to detect alertmanager config #4252

Open
nkalvakuntla opened this issue Feb 12, 2025 · 1 comment
Open

kube-prometheus-stack unable to detect alertmanager config #4252

nkalvakuntla opened this issue Feb 12, 2025 · 1 comment

Comments

@nkalvakuntla
Copy link

Here is my helm values.yaml. Even with configmatcher strategy set to None , don't see the config updated . Appreciate your inputs. Thanks.

helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
kube-prometheus monitoring 1 2025-02-12 14:13:39.883599056 -0500 EST deployed kube-prometheus-stack-69.2.2 v0.80.0

prometheus:
prometheusSpec:
podMonitorSelectorNilUsesHelmValues: false
serviceMonitorSelectorNilUsesHelmValues: false

alertmanager:
alertmanagerSpec:
alertmanagerConfigNamespaceSelector:
alertmanagerConfigSelector:
matchLabels:
release: kube-prometheus
alertmanagerConfigMatcherStrategy:
type: None

apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
name: slack-config
namespace: monitoring
labels:
release: kube-prometheus
spec:
route:
groupBy: ["alertname", "severity"]
groupWait: 30s
groupInterval: 5m
repeatInterval: 12h
receiver: "slack"
receivers:
- name: slack
slackConfigs:
- apiURL:
name: slack-webhook-url
key: webhook-url
channel: "#nick-test"
sendResolved: true
title: "{{ range .Alerts }}{{ .Annotations.summary }}\n{{ end }}"
text: "{{ range .Alerts }}{{ .Annotations.description }}\n{{ end }}"

@nkalvakuntla
Copy link
Author

Don't see any errors in alertmanager pod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant