Commit Graph

72 Commits

Author SHA1 Message Date
Frederic Branczyk 0d142fe9da Merge pull request #1205 from zuzzas/cpu-rules
Fixed CPU accounting in recording rules
2018-04-11 15:08:15 +02:00
Arslanbekov Denis a2d273b11a In description is displayed correctly namespace (#1190)
* in description is displayed correctly namespace

* Bump kube state version

* Update Chart.yaml
2018-04-10 17:18:24 +02:00
Andrey Klimentyev f9b03ddd9d kube-prometheus: fixed CPU accounting
Currently, node recording rules feature
an incorrect idle CPU accounting. This
change aims to fix that.
2018-04-10 15:14:48 +03:00
Max Leonard Inden b10e343689 kube-prometheus: Fix minor typo 2018-04-10 10:27:54 +02:00
Richard Maynard 889eca2cd4 charts: Add Core DNS Support (#1176)
* charts: Add Core DNS Support

With CoreDNS becoming a first class citizen it should be an optional part
of the kube-prometheus deployment.

Fixes: #1174

* added kube-prometheus service and service monitor

In order to work directly with a cluster created by bootkube used port 9153,
and created a service exposing metrics since bootkube does does not. Also in
the helm chart changed the default port to 9153 since that is the coredns
plugins default port and to be consistent throughout the repo.
2018-04-05 09:57:56 +02:00
Sébastien GLON 2c10f81102 Add new alert for samples rejected due ti duplicate timestamp (#1148)
Signed-off-by: Sébastien GLON <sebastien.glon@akeneo.com>
2018-03-26 18:11:40 +02:00
Alexander Holte-Davidsen 4c77a9db1d Update Alert Manager rules for NodeDiskRunningFull with summary 2018-03-22 11:32:38 +01:00
Max Leonard Inden 2f302943fe Unify rule file label accross repository
In some cases we have been using `alert-rules` in some cases
`prometheus-rulefiles`. This led to confusion [1]. Instead, unify the
Prometheus rules configmap labels to:

```yaml
labels:
  role: alert-rules
```

[1] https://github.com/coreos/prometheus-operator/issues/1102
2018-03-19 14:24:48 +01:00
Laurent Godet 0bda22e380 Update Prometheus to 2.2.1 2018-03-14 19:34:35 +00:00
Alexander Holte-Davidsen 8b6ee5c18b Add summary to Alertmanager rules where missing - updated accoring to guidelines 2018-03-05 09:52:51 +01:00
Akihito INOH 7fe4506ae4 Update alert rule for kubelet
Update alert rule check kubelet down ratio from 1% to 10%.
In #774 , it is changed to 1%, so returns to 10%.
2018-03-01 14:10:27 +09:00
Antoine Legrand 9764d157b1 Merge pull request #1010 from coreos/no_ingest_alert
Add alert if it samples aren't ingested
2018-02-28 10:43:23 +01:00
Jordan Jennings eb636277cb Update to Prometheus v2.2.0-rc.1 2018-02-26 10:11:56 -05:00
Antoine Legrand 0ae6c98a48 Add alert if it no samples are ingested 2018-02-26 14:57:39 +01:00
Frederic Branczyk 863156dcc9 *: bump Prometheus and Alertmanager versions 2018-02-14 14:01:22 +01:00
Frederic Branczyk 52990f7951 kube-prometheus: Use non-root and Prometheus v2.1.0 2018-01-19 15:28:39 +01:00
Frederic Branczyk f7ee14685a kube-prometheus: Use secure kubelet metrics endpoints 2018-01-19 15:28:37 +01:00
Frederic Branczyk e7ec3d2886 Merge pull request #901 from luisyonaldo/kubelet-clusterrole
Add role rules permissions to get metrics from kubelet
2018-01-17 16:41:48 +01:00
Luis Nuñez 7bac2a97d4 add permissions also on k8s manifest 2018-01-17 14:32:29 +01:00
Antoine Legrand bcb0ba9974 Add cert expiration rules 2018-01-16 17:20:00 +01:00
Frederic Branczyk a74a54cd06 Merge pull request #893 from brancz/bump-versions
kube-prometheus: bump various versions
2018-01-16 10:12:36 +01:00
Frederic Branczyk aacc95b74c kube-prometheus: bump various versions 2018-01-15 14:13:26 +01:00
Matthias Loibl 85f384876e Update kube-state-metrics rules to 1.2 (#884)
* Update kube-state-metrics rules to 1.2

* Run make generate to update all manifests

* Fix the helm chart kube-state-metrics rules
2018-01-13 11:39:31 +01:00
Frederic Branczyk 889f7cead4 Merge pull request #859 from brancz/metrics-rbac
kube-prometheus: Add RBAC authorization to metrics endpoints
2018-01-11 15:11:25 +01:00
Frederic Branczyk 4402d451ae kube-prometheus: Add RBAC authorization to metrics endpoints 2018-01-05 16:03:04 +01:00
Frederic Branczyk a9fedc6343 kube-prometheus: Update etcd3 rules 2017-12-22 16:09:13 +01:00
Tyler Roscoe f19cddc429 Regenerate prometheus-k8s-rules.yaml after change to prometheus.rules.yaml in c4be29f65. 2017-12-18 19:47:18 -07:00
Xabier Larrakoetxea d6a2b717d3 Fix cluster:container_cpu_usage:ratio rule on prometheus kubernetes files
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2017-11-28 14:52:16 +01:00
Frederic Branczyk b421172bba kube-prometheus: re-generate manifests 2017-11-21 16:47:16 +01:00
Frederic Branczyk 7615244a60 Merge pull request #756 from iJanki/fix_api_latency_rule
Fixing #751 K8SApiServerLatency always triggering
2017-11-16 14:12:38 +01:00
Cesarini, Daniele 727d053dd4 Fixing #751 K8SApiServerLatency always triggering 2017-11-14 15:48:14 +00:00
Cesarini, Daniele 6bd725b347 Fixing #751 K8SApiServerLatency always triggering 2017-11-14 15:11:24 +00:00
Aleksandar Topuzovic 8cbdac6a20 Add generated manifests
* Generated by `make generate` in `contrib/kube-prometheus`
2017-11-14 14:38:26 +00:00
Frederic Branczyk 6b5681a0c1 *: upgrade to Prometheus 2.0 2017-11-08 16:47:14 +01:00
Frederic Branczyk 1b7c8cdf21 *: bump Prometheus to v2.0.0-rc.1 2017-10-17 20:13:40 +02:00
Frederic Branczyk 461c01b063 kube-prometheus: various version updates 2017-10-06 15:45:43 +02:00
Daniel Sachse 6213964317 Updated to prometheus 1.7.1
This updates prometheus to 1.7.1 where it was missing
2017-09-21 17:08:01 +02:00
Frederic Branczyk c8cb2df928 kube-prometheus: exclude pod log subresource from latency alerts 2017-09-18 11:11:30 +02:00
Frederic Branczyk dfd2ee2847 assets: modify and add grafana dashboards 2017-09-07 13:44:12 +02:00
Frederic Branczyk e4ee14b7d5 Merge pull request #555 from brancz/v1-move
Move to v1 from v1alpha1
2017-08-24 08:45:35 +02:00
Frederic Branczyk 40a45fcf7d *: adapt all manifests from v1alpha1 to v1 2017-08-23 14:36:00 +02:00
crandl201 e48278f397 update kube-state rules for 1.0.0 2017-08-17 20:05:55 -04:00
xvzup d34811cbe9 Update prometheus-k8s-roles.yaml
Resource pods added to role prometheus-k8s for namespace default. This is required to monitor kube-apiserver.
2017-08-01 18:10:23 +02:00
Zachary Yonash 7010e32130 Added a few extra node rules (#478) 2017-07-27 09:49:25 +02:00
Frederic Branczyk cd6eef6ca8 Merge pull request #461 from brancz/namespaced-prom-k8s
kube-prometheus: run prometheus-k8s with only those roles it needs
2017-07-24 12:01:49 +02:00
Frederic Branczyk c97a329792 kube-prometheus: run prometheus-k8s with only those roles it needs 2017-07-20 14:33:20 +02:00
Andy Lindeman eae253db74 Scrapes cAdvisor port for metrics in Kubernetes 1.7 2017-07-13 12:51:59 -04:00
Frederic Branczyk a5533a4f6c kube-prometheus: ensure triggering alerts on down targets 2017-06-28 14:11:05 +02:00
Frederic Branczyk 4c42ab4fcc kube-prometheus: fix correct selector 2017-06-19 11:33:28 +02:00
jordanjennings dea5226b9f kube-prometheus: update serviceMonitorSelector
In cleanup commit 9cd05a8c39c6ed03688859de92372d93af5cc6e2 the labels on the ServiceMonitors were changed from k8s-apps to k8s-app. This commit makes the Prometheus selector match that change.
2017-06-17 13:03:50 -04:00