Frederic Branczyk
d480b41d8f
Merge pull request #1935 from metalmatze/antiaffinity
...
contrib/kube-prometheus: Set antiAffinity for Prometheus & Alertmanager
2018-09-28 15:51:30 +02:00
Matthias Loibl
0f0c168b44
*: Update to Prometheus v2.4.0
2018-09-28 15:16:26 +02:00
Lucas Serven
3ff5d01277
contrib: remove duplicate alertmanager alert
2018-09-28 11:40:12 +02:00
Matthias Loibl
916863e4d5
contrib/kube-prometheus: Set podAntiAffinity for Prometheus & Alertmanager
...
contrib/kube-prometheus: Generate new manifests with antiAffinity
contrib/kube-prometheus: jb update
Documentation: Generate after updating kube-prometheus manifests
contrib/kube-prometheus: Move antiaffinity into own jsonnet file
foobar
2018-09-28 10:15:22 +02:00
Elisiano Petrini
59fd4cd63e
Add initial thanos support to kube-prometheus
...
This is distributed as a library that the user is meant to import.
example:
```
kp = (import 'kube-prometheus/kube-prometheus.libsonnet') +
(import 'kube-prometheus/kube-prometheus-thanos.libsonnet') +
{
_config+:: {...}
};
```
2018-09-26 15:20:16 +02:00
Lucas Servén Marín
bb2a9e87bc
Merge pull request #1891 from metalmatze/prometheus-operator-alerts
...
kube-prometheus: Add Prometheus Operator alerts
2018-09-14 14:22:10 +02:00
Lucas Serven
7e34199dd8
contrib: jsonnetfile newline
2018-09-14 13:36:43 +02:00
Matthias Loibl
24141c464f
contrib/kube-prometheus: Improve consistency of Prometheus Operator alerts
2018-09-14 13:33:49 +02:00
Matthias Loibl
407aaa5e2f
contrib/kube-prometheus: Alert in 10% erros when reconciling Prom & Alertmanager
2018-09-14 11:08:15 +02:00
Matthias Loibl
8d38e81521
contrib/kube-prometheus: Create missing Prometheus operator alerts
2018-09-14 11:05:28 +02:00
Matthias Loibl
483a1c115f
contrib/kube-prometheus: Fix outdated alerts to use message annotation
2018-09-13 14:59:50 +02:00
Lucas Serven
34dd0a798a
contrib/.../alerts: improve alert messages
2018-09-07 15:23:51 +02:00
Frederic Branczyk
6536496716
kube-prometheus: Improve disk alert
...
Only trigger disk running full alerts when the disk capacity is over 85%
and use recording rule of the kubernetes-mixin to only consider real
physical filesystems.
2018-09-05 23:00:57 +02:00
Frederic Branczyk
4c90bd93b0
kube-prometheus: Update Prometheus Operator dependency
2018-08-27 13:58:06 -06:00
Sergiusz Urbaniak
2a9a31875a
kube-prometheus: fix root typo in node-exporter
...
Currently, we are mounting `/root` from the host as `/host/root`.
Instead simply `/` from the host should be mounted.
This fixes it
Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
2018-08-23 11:59:04 +02:00
Frederic Branczyk
e7437ade81
Merge pull request #1732 from jolson490/kube-prometheus_documentation
...
kube-prometheus documentation
2018-08-22 20:28:52 +02:00
Frederic Branczyk
da2536398c
kube-prometheus: Update node-exporter to v0.16.0
2018-08-20 22:00:14 +02:00
Sergiusz Urbaniak
106ed84217
kube-prometheus: bind mount host rootfs into node exporter
...
Fixes https://github.com/prometheus/node_exporter#474 in the operator
Fixes #569 (by making the mount explicit)
Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
2018-08-17 11:50:49 +02:00
Max Leonard Inden
d482cef033
Update Prometheus to v2.3.2 and Alertmanager to 0.15.2
2018-08-16 11:05:14 +02:00
Frederic Branczyk
f291ce1005
kube-prometheus: bump Prometheus Operator version
2018-08-14 16:34:05 +02:00
Frederic Branczyk
a559123a2b
kube-prometheus: Allow skipping etcd TLS errors
2018-08-13 21:33:33 +02:00
Frederic Branczyk
ff878498df
kube-promethes: Fix default serviceMonitorSelector
2018-08-13 15:12:15 +02:00
Henrique Fernandes
25bb07fe7d
Fix typos
2018-08-08 10:14:23 -03:00
Lucas Serven
28e3ef5a6d
contrib/kube-prometheus: bump prometheus-operator
...
This commit bumps the version of the Prometheus Operator jsonnet
dependency in kube-prometheus. With this change, kube-prometheus now
supports Prometheus Operator v0.23.0.
2018-08-07 17:44:01 +02:00
Frederic Branczyk
0d35d31c1f
Merge pull request #1730 from nrobert13/prometheus_jsonnet_add_SM_NS_Selector
...
add serviceMonitorNamespaceSelector to the prometheus jsonnet library
2018-08-07 09:27:19 +02:00
Lucas Serven
7213f93e41
*: cut 0.23.0
2018-08-06 16:05:42 +02:00
Robert Nemeti
43dc7999ca
provide empty hash to serviceMonitorNamespaceSelector, which selects all the namespaces by default
2018-08-06 08:19:28 +00:00
Robert Nemeti
0f76dc63b6
add serviceMonitorNamespaceSelector to the prometheus jsonnet library
...
to implement the feature from PR #1227
2018-08-06 07:38:26 +00:00
Vasilis Remmas
d009846be9
Create rolebinding using $._config.namespace
...
Assign the rolebinding to an existing serviceaccount
2018-08-02 10:59:34 +02:00
Joshua Olson
0e9b446143
Merge branch 'master' into kube-prometheus_documentation
2018-08-01 09:26:28 -05:00
Joshua Olson
bed6e4865a
kube-prometheus: update etcd info
...
Resolves issue #1629 in this repository.
2018-08-01 09:17:58 -05:00
prune
facf7cc0e1
minor update as requested in PR
2018-08-01 07:35:28 -04:00
prune
fc382e15cd
allow creation of role and rolebindings for other namespaces in jsonnet
...
replaced default namespaces rbac rules by a loop
set right variable name
2018-07-27 07:48:17 -04:00
Frederic Branczyk
9a011bb8ac
kube-prometheus: Use locking mechanism for jsonnet dependencies
2018-07-25 17:21:50 +02:00
Mark Eijsermans
cf6232c479
adjust rbac apiGroups to support core workloads api apps/v1
2018-07-24 18:05:16 -07:00
Ali Rizwan
d728ab5511
Only alert for nodes that currently exist ( #1661 )
2018-07-23 12:20:54 +02:00
seph
596b8697d0
Set default scrape values
...
We default to a 30s scrapeInterval, we may as well also set scrapeTimeout to the same.
2018-07-17 10:24:10 -04:00
seph
358c8477ea
Resource config now in config.kubeStateMetrics
...
As requested, this updates the resource specification to live directly in config.kubeStateMetrics
It also clarifies the config variables. These names are what google uses in some of their tooling.
(And a slight tweak to the way collectors are specified)
2018-07-17 09:59:48 -04:00
seph
b6e7d708c5
Configure kube-state-metrics
...
As I work with kube-state-metrics in a large cluster, I found I needed to make some adjustments.
- Expose the collectors, allowing one to configure exclusions.
- Expose the addon_resizer parameters, facilitating reproduce adjustments
- Allow adjusting scrapeTimeout and scrapeInterval
2018-07-17 00:40:47 -04:00
Frederic Branczyk
ad748858e3
kube-prometheus: Add kube-prometheus mixin to configure static etcd
2018-07-03 15:57:48 +02:00
Frederic Branczyk
6312998080
kube-prometheus: Bump various versions
2018-06-25 13:48:36 +02:00
Max Leonard Inden
603771ff14
kube-prometheus: Run node-exporter in host network
...
Node exporter needs to run in the host network, not in the pod network
in order to pick up network metrics of the node.
2018-06-15 11:47:51 +02:00
Frederic Branczyk
3446f3cf25
Merge pull request #1466 from brancz/dashboard-cms
...
kube-prometheus: Use 1 ConfigMap per Grafana dashboard
2018-06-12 11:52:25 +02:00
Frederic Branczyk
f81bdd8928
kube-prometheus: Use 1 ConfigMap per Grafana dashboard
2018-06-12 10:02:11 +02:00
Frederic Branczyk
30b84794d7
Merge pull request #1433 from atopuzov/ignore_etc_files
...
NodeDiskRunningFull ignore etc files mountpoints
2018-06-11 15:44:39 +02:00
Frederic Branczyk
62fa823e3e
kube-prometheus: Add docs on how to set Alertmanager configuration
2018-06-07 11:53:37 +02:00
Frederic Branczyk
502044ff93
*: Use all jsonnet from master branch
2018-06-07 10:04:05 +02:00
Frederic Branczyk
1d5623d4a0
kube-prometheus: Extract prometheus-operator jsonnet out of contrib
2018-06-06 18:01:32 +02:00
Aleksandar Topuzovic
64c73eafe5
Ignore '/etc/*' mountpoints
...
* Ignores '/etc/resolv.conf', '/etc/hosts' and '/etc/hostname' mountpoints
* Otherwise 3 additional alerts are generated
2018-06-05 14:59:40 +01:00
Max Leonard Inden
c13b0556ba
*: Bump version to v0.20.0
2018-06-05 15:07:17 +02:00