🌐
Alibaba Cloud
alibabacloud.com › help › en › ack › ack-managed-and-ack-dedicated › user-guide › best-practices-for-configuring-alert-rules-in-prometheus
Configuring alert rules using Prometheus - Container Service for Kubernetes - Alibaba Cloud Documentation Center
June 15, 2026 - Open source Prometheus supports webhooks, DingTalk, and email. Set the notification method via the receiver parameter in ack-prometheus-operator. See Alerting configuration. Create an alert rule. Deploy a PrometheusRule CRD in the cluster to define alert rules (see Deploying Prometheus rules).
🌐
Samber
samber.github.io › home › rules › orchestrators › kubernetes
Kubernetes Prometheus Alert Rules (46) | Awesome Prometheus Alerts
October 21, 2018 - # Replace job="apiserver" with the actual job name in your Prometheus configuration (kube-prometheus-stack uses "apiserver" by default). The 3% error rate threshold is a rough default; adjust based on your workload.
Discussions

Karpenter Kubernetes Chaos: why we started Karpenter Monitoring with Prometheus
Very well done article, and I really appreciate you sharing your grafana dashboards and prometheus alerts 🙏 More on reddit.com
🌐 r/kubernetes
4
51
March 6, 2024
Sane alternative to kube-prometheus-stack kubernetes-mixin? False positives galore
By default all of the alerts are on. If you are using managed k8s then there are a few related to the control-plane which you need to disable. https://github.com/prometheus-community/helm-charts/blob/76166d2bbd0da62be1e594f70c4c989f79aa1452/charts/kube-prometheus-stack/values.yaml#L40 More on reddit.com
🌐 r/devops
10
14
January 22, 2024
Alert-Rules Auto-Discovery via Kubernetes

Google for "Prometheus operator"

I use this to deploy

https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

More on reddit.com
🌐 r/PrometheusMonitoring
2
6
December 27, 2021
Unit testing Prometheus alerts

Will check it out

More on reddit.com
🌐 r/kubernetes
5
33
June 18, 2018
People also ask

What is the Prometheus alert rule for "Kubernetes Pod not healthy"?
Pod {{ $labels.namespace }}/{{ $labels.pod }} has been in a non-running state for longer than 15 minutes. PromQL expression: sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"}) > 0. Severity: critical. Duration: 15m.
🌐
samber.github.io
samber.github.io › home › rules › orchestrators › kubernetes
Kubernetes Prometheus Alert Rules (46) | Awesome Prometheus Alerts
What is the Prometheus alert rule for "Kubernetes Node network unavailable"?
Node {{ $labels.node }} has NetworkUnavailable condition PromQL expression: kube_node_status_condition{condition="NetworkUnavailable",status="true"} == 1. Severity: critical. Duration: 2m.
🌐
samber.github.io
samber.github.io › home › rules › orchestrators › kubernetes
Kubernetes Prometheus Alert Rules (46) | Awesome Prometheus Alerts
What is the Prometheus alert rule for "Kubernetes Node memory pressure"?
Node {{ $labels.node }} has MemoryPressure condition PromQL expression: kube_node_status_condition{condition="MemoryPressure",status="true"} == 1. Severity: critical. Duration: 2m.
🌐
samber.github.io
samber.github.io › home › rules › orchestrators › kubernetes
Kubernetes Prometheus Alert Rules (46) | Awesome Prometheus Alerts
🌐
Samber
samber.github.io › home › rules
1162 Prometheus Alerting Rules for 94 Services | Awesome Prometheus Alerts
Alert thresholds depend on the nature of your applications. Some queries may have arbitrary tolerance thresholds. Building an efficient monitoring platform takes time.
🌐
Karim's Blog
elatov.github.io › 2020 › 01 › alerting-with-prometheus-on-kubernetes
Alerting with Prometheus on Kubernetes | Karim's Blog
prometheus.rules: |- groups: - name: demo alert rules: - alert: High Pod Memory expr: sum(container_memory_usage_bytes) > 1 for: 1m labels: severity: slack annotations: summary: High Memory Usage prometheus.yml: |- global: scrape_interval: 5s evaluation_interval: 5s rule_files: - /etc/prometheus/prometheus.rules alerting: alertmanagers: - scheme: http static_configs: - targets: - "alertmanager.monitoring.svc:9093"
🌐
GitHub
github.com › camilb › prometheus-kubernetes › blob › master › manifests › prometheus › prometheus-k8s-rules.yaml
prometheus-kubernetes/manifests/prometheus/prometheus-k8s-rules.yaml at master · camilb/prometheus-kubernetes
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-prometheusoperatordown · expr: | absent(up{job="prometheus-operator",namespace="monitoring"} == 1) for: 15m · labels: severity: critical · - name: kubernetes-apps · rules: - alert: KubePodCrashLooping ·
Author: camilb
🌐
Doks
prometheus-operator.dev › home › docs › developer › alerting routes
Alerting Routes - Prometheus Operator
The PrometheusRule CRD allows to define alerting and recording rules. The operator knows which PrometheusRule objects to select for a given Prometheus based on the spec.ruleSelector field.
🌐
Kubernetes
kubernetes.recipes › home › observability › prometheus alerting rules kubernetes
Prometheus Alerting Rules Kubernetes | K8s Recipes
April 24, 2026 - apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: name: kubernetes-essential namespace: monitoring spec: groups: - name: kubernetes.essential rules: - alert: PodCrashLooping expr: rate(kube_pod_container_status_restarts_total[15m]) > 0 for: 1h labels: severity: warning annotations: summary: "Pod {{ $labels.namespace }}/{{ $labels.pod }} is crash looping" - alert: NodeNotReady expr: kube_node_status_condition{condition="Ready",status="true"} == 0 for: 5m labels: severity: critical annotations: summary: "Node {{ $labels.node }} is not ready" - alert: PVCNearlyFull expr: kubelet
Find elsewhere
🌐
Aviator
aviator.co › home › blog › managing prometheus alerts in kubernetes at scale using gitops
Managing Prometheus alerts in Kubernetes at scale using GitOps - Aviator Blog
September 20, 2023 - The Prometheus Operator provides Kubernetes native deployment and management of Prometheus Alert Rules.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › azure-monitor › containers › kubernetes-metric-alerts
Recommended alert rules for Kubernetes clusters - Azure Monitor | Microsoft Learn
July 28, 2026 - Arc-enabled Kubernetes clusters do not support Platform metric recommended alert rules. Instead, equivalent Prometheus-based alert rules are provided for these clusters.
🌐
Robusta
home.robusta.dev › blog › prometheus-alerts-using-prometheus-community-helm-chart
How Are Prometheus Alerts Configured on Kubernetes with prometheus-community/prometheus? — Robusta Blog
January 30, 2023 - Before we set up Prometheus, you need to know about two types of Prometheus rules. They are · Alerting rules - Alerts are written in PromQL. They evaluate one or more expressions and fire alerts based on the result.
🌐
Medium
medium.com › @bavicnative › alerting-incident-management-in-kubernetes-configuring-alerts-with-alertmanager-f744500c4b9b
Kubernetes Alerting with Prometheus & Alertmanager: Real-Time Incident Detection & Response | Medium
March 22, 2025 - Set thresholds based on baselines, not assumptions ✔ Group alerts (e.g., all node issues together) to avoid alert fatigue ✔ Use labels (severity, team) to route alerts properly ✔ Silence alerts during maintenance windows ✔ Send alerts ...
🌐
Devtron
devtron.ai › home › blog
Prometheus Alertmanager for Kubernetes
September 10, 2025 - Simulate alert conditions: Temporarily modify your alert rules to trigger based on current conditions. Use Prometheus's API: Send test alerts directly through the Prometheus API. Alertmanager's web UI: Use the Alertmanager web interface to view and manage active alerts. ... Setting up basic alerts for your Kubernetes monitoring stack is a key step in maintaining the reliability and performance of your applications.
🌐
Prometheus
prometheus.io › docs › prometheus › latest › configuration › alerting_rules
Alerting rules | Prometheus
groups: - name: example labels: team: myteam rules: - alert: HighRequestLatency expr: job:request_latency_seconds:mean5m{job="myjob"} > 0.5 for: 10m keep_firing_for: 5m labels: severity: page annotations: summary: High request latency
🌐
GitHub
github.com › kayrus › prometheus-kubernetes
GitHub - kayrus/prometheus-kubernetes: Most common Prometheus deployment example with alerts for Kubernetes cluster
apiVersion: extensions/v1beta1 kind: Ingress metadata: annotations: ingress.kubernetes.io/auth-realm: Authentication Required ingress.kubernetes.io/auth-secret: internal-services-auth ingress.kubernetes.io/auth-type: basic kubernetes.io/ingress.allow-http: "false" name: ingress-monitoring namespace: monitoring spec: tls: - hosts: - prometheus.example.com - grafana.example.com secretName: example-tls rules: - host: prometheus.example.com http: paths: - path: / backend: serviceName: prometheus-svc servicePort: 9090 - path: /alertmanager backend: serviceName: alertmanager servicePort: 9093 - host: grafana.example.com http: paths: - path: / backend: serviceName: grafana servicePort: 3000
Starred by 445 users
Forked by 219 users
Languages: Shell 100.0% | Shell 100.0%
🌐
Medium
medium.com › @joudwawad › comprehensive-beginners-guide-to-kube-prometheus-in-kubernetes-monitoring-alerts-integration-4ade4fa8fa8c
Comprehensive Beginner’s Guide to Kube-Prometheus in Kubernetes: Monitoring, Alerts, & Integration | by Joud W. Awad | Medium
July 23, 2024 - Once set up, you can test the alerting by triggering conditions that match our PrometheusRule. This should result in notifications being sent to your configured Slack channel. so first let us just decrease the number of replicas to one so that PrometheusRule is triggered, and then wait for few minutes and check the Prometheus UI again ... We have journeyed through an extensive and enlightening tutorial, aiming to demystify the workings of Prometheus in a Kubernetes environment.
🌐
Medium
mayurkumar09.medium.com › alerting-with-prometheus-in-kubernetes-a-beginners-guide-920a4e808085
Alerting with Prometheus in Kubernetes — A Beginners Guide | by Mayur Kumar | Medium
May 16, 2021 - Create alerting rules in Prometheus (Like if any pod is not running) ... If you install a stable/prometheus helm chart, alertmanager is also installed with it. ... Be a part of the Slack workspace. Go to Slack -> Administration -> Manage apps. The Alertmanager uses the Incoming Webhooks feature of Slack, so we need to set that up first. ... Here you need to add the channel for receiving the alerts.
🌐
The Neural Base
theneuralbase.com › home › kubernetes for ml › intermediate course › alert rules for ml workloads
Alert rules for ML workloads | Kubernetes For Ml Intermediate Course | The Neural Base
Alert rules in Kubernetes ML clusters ... model serving throughput dropping). Prometheus evaluates these rules every 30 seconds against your cluster's metrics and fires alerts to Alertmanager, which routes them to PagerDuty, Slack, or email....
🌐
Squadcast
squadcast.com › blog › prometheus-sample-alert-rules
Prometheus Alert Rules: Comprehensive Guide with Best Practices & Samples | Squadcast
April 17, 2023 - Before we go into more detail on writing Prometheus alert rules, let's quickly summarize the concepts that this article will cover. Prometheus alert templates provide a way to define standard fields and behavior for multiple alerts. You can define these templates in the Prometheus configuration file.
🌐
OneUptime
oneuptime.com › home › blog › how to use prometheusrule crd to define recording and alerting rules
How to Use PrometheusRule CRD to Define Recording and Alerting Rules
February 9, 2026 - Prometheus Kubernetes PrometheusRule Alerting Monitoring · The PrometheusRule CRD allows you to define Prometheus alerting and recording rules as Kubernetes resources. Instead of managing rules in ConfigMaps or static files, PrometheusRule ...
🌐
DevOps Cube
devopscube.com › alert-manager-kubernetes-guide
Setting Up Alert Manager on Kubernetes - Beginners Guide
March 15, 2025 - Note: If you are following my tutorial ... - targets: - "alertmanager.monitoring.svc:9093" All the alerting rules have to be present on Prometheus config based on your needs....