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.
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
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
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.comUnit testing Prometheus alerts
Will check it out
More on reddit.comWhat 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
10:23
Alerting Rules | Prometheus for beginners - 8 - YouTube
13:37
Introduction to Alert Manager for Prometheus on Kubernetes - YouTube
01:21:49
Kubernetes Master Class: Monitoring and Alerting with Prometheus ...
07:41
Prometheus Alertmanager Tutorial: Setup Kubernetes Cluster Alerts ...
33:10
Set up Prometheus Alert Manager for Kubernetes Cluster with Custom ...
42:07
Full Tutorial: AlertManager Set up and PrometheusRules - YouTube
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
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
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.