From 0ad11b64d77a67420f5432cad2e8c10b634b1eeb Mon Sep 17 00:00:00 2001
From: paulfantom <pawel@krupa.net.pl>
Date: Tue, 24 Mar 2020 15:49:10 +0100
Subject: [PATCH] replace clock skew alert with one provided by node_exporter
 mixin

---
 jsonnet/kube-prometheus/alerts/node.libsonnet | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/jsonnet/kube-prometheus/alerts/node.libsonnet b/jsonnet/kube-prometheus/alerts/node.libsonnet
index 2346ecfa..d1b9caf6 100644
--- a/jsonnet/kube-prometheus/alerts/node.libsonnet
+++ b/jsonnet/kube-prometheus/alerts/node.libsonnet
@@ -1,24 +1,6 @@
 {
   prometheusAlerts+:: {
     groups+: [
-      {
-        name: 'node-time',
-        rules: [
-          {
-            alert: 'ClockSkewDetected',
-            annotations: {
-              message: 'Clock skew detected on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}. Ensure NTP is configured correctly on this host.',
-            },
-            expr: |||
-              abs(node_timex_offset_seconds{%(nodeExporterSelector)s}) > 0.05
-            ||| % $._config,
-            'for': '2m',
-            labels: {
-              severity: 'warning',
-            },
-          },
-        ],
-      },
       {
         name: 'node-network',
         rules: [
-- 
GitLab