From 8cbdac6a2081b8bb74f49b6f50b4eb37fe23505f Mon Sep 17 00:00:00 2001 From: Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com> Date: Tue, 14 Nov 2017 14:38:26 +0000 Subject: [PATCH] Add generated manifests * Generated by `make generate` in `contrib/kube-prometheus` --- .../prometheus/prometheus-k8s-rules.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/manifests/prometheus/prometheus-k8s-rules.yaml b/manifests/prometheus/prometheus-k8s-rules.yaml index 041c127b..3a2a53a0 100644 --- a/manifests/prometheus/prometheus-k8s-rules.yaml +++ b/manifests/prometheus/prometheus-k8s-rules.yaml @@ -314,6 +314,33 @@ data: description: Kubelet {{$labels.instance}} is running {{$value}} pods, close to the limit of 110 summary: Kubelet is close to pod limit + - alert: K8SDaemonSetsNotScheduled + expr: kube_daemonset_status_desired_number_scheduled - kube_daemonset_status_current_number_scheduled + > 0 + for: 10m + labels: + severity: warning + annotations: + description: A number of daemonsets are not scheduled. + summary: Daemonsets are not scheduled correctly + - alert: K8SDaemonSetsNotRunning + expr: kube_daemonset_status_desired_number_scheduled - kube_daemonset_status_number_ready + > 0 + for: 10m + labels: + severity: warning + annotations: + description: A number of daemonsets are not ready. + summary: Daemonsets are not ready + - alert: K8SDaemonSetsMissScheduled + expr: kube_daemonset_status_number_misscheduled > 0 + for: 10m + labels: + severity: warning + annotations: + description: A number of daemonsets are running where they are not supposed + to run. + summary: Daemonsets are not scheduled correctly kubernetes.rules.yaml: |+ groups: - name: ./kubernetes.rules -- GitLab