Commit Graph

265 Commits

Author SHA1 Message Date
Fabian Stäber
b9a6730daf fix syntax error in prometheus.libsonnet 2018-11-28 10:20:23 +01:00
Maxim Ivanov
4a15683db4 Do not error if no $._config.prometheus.rules are set 2018-11-27 15:29:46 +00:00
Frederic Branczyk
7ca0a02372 Merge pull request #2143 from BcTpe4HbIu/master
Fix AlertmanagerMembersInconsistent rule
2018-11-23 09:44:04 +01:00
Golubkov Igor
48ab110e09 Update unit tests 2018-11-23 09:39:14 +03:00
Golubkov Igor
95bb49aa4e Fix AlertmanagerMembersInconsistent rule 2018-11-22 17:33:14 +03:00
Matthias Loibl
d823b7f74b contrib/kube-prometheus: Add prometheusURL to adapter's jsonnet config 2018-11-22 15:30:17 +01:00
Frederic Branczyk
d7fc1eb32b kube-prometheus: Adapt CoreDNS default configuration to default CoreDNS installs 2018-11-21 16:22:27 +01:00
Lucas Serven
43bb05692f contrib/kube-prometheus: ne rbacproxy listen podip
This commit adjusts the RBAC proxy for the node-exporter DaemonSet to
only listen on the Pod IP. It also adjusts the ports used by the
node-exporter Pod so that both containers are listening on 9100. The
actual node-exporter listens on 127.0.0.1:9100, while the RBAC proxy
listens on <PODIP>:9100. This ensures that port 9101 is not taken on
the host networking namespace.
2018-11-20 20:16:07 +01:00
Vincent Brouillet
283d34b882 add example for kube-aws 2018-11-20 13:38:00 +01:00
Matthias Loibl
b0c35b5447 contrib/kube-prometheus: Remove superseded compatibility node exporter rules 2018-11-15 09:38:38 +01:00
Max Leonard Inden
1b8684083c *: Update to Alertmanager v0.15.3 2018-11-13 16:15:05 +01:00
Matthias Loibl
b7273bf567 contrib/kube-prometheues: Mount emptyDir as tmpfs to /tmp in adapter 2018-11-12 11:28:37 +01:00
Matthias Loibl
601fea2e9a contrib/kube-prometheus: Create prometheus-adapter component
contrib/kube-prometheus: Add section on Prometheus Adapter requirements to README.md
2018-11-09 15:05:45 +01:00
Matthias Loibl
174e84f3e5 *: Update to Proemtheus v2.5.0 as default 2018-11-07 16:23:50 +01:00
Alexandre Veyrenc
e42bff1ed3 Add support for Kubespray clusters 2018-11-05 14:10:18 +01:00
Matthias Loibl
49835437f7 Add AlertmanagerMembersInconsistent alerting rule 2018-10-26 17:30:14 +02:00
Frederic Branczyk
362e824936 kube-prometheus: Update kube-rbac-proxy and kube-state-metrics 2018-10-25 17:03:25 +02:00
Frederic Branczyk
f63ebc87e0 kube-prometheus: Bump prometheus-operator to v0.25.0 2018-10-25 10:06:07 +02:00
Frederic Branczyk
a5bc4995c1 Merge pull request #1973 from kkc/fix-typos-prometheus-rules
contrib: fix typo in contrib prometheus rules
2018-10-25 09:09:52 +02:00
Matthias Loibl
8094f67a40 contrib/kube-prometheus: thanos-peers service misses namespace 2018-10-22 18:38:44 +02:00
kkc
012a60163e contrib: fix typo in contrib prometheus rules
Change `Promehteus` to `Prometheus`
2018-10-20 00:15:02 +08:00
Frederic Branczyk
0eabd2e536 kube-prometheus: Fix Alertmanager secret namespace. 2018-10-16 14:33:14 +02:00
Damien Lespiau
253abe0f96 contrib/kube-prometheus: Introduce a withImageRepository mixin
This mixin replaces all images prefixes by $repository to generate manifests
that will point to an internal registry.
2018-10-16 11:59:31 +01:00
Damien Lespiau
466cbe50b0 contrib/kube-prometheus: Add a script to sync images to an internal registry
Crazy at it sounds, some Kubernetes installations don't have access to Internet
and source all their images from an internal registry.

sync-to-internal-registry.jsonnet is a jsonnet snippet that helps with the task
of pushing upstream images used by the prometheus operator to an internal
registry by printing the right docker pull/tag/push commands.

$ jsonnet -J vendor -S --tla-str repository=internal-registry.com/organization sync-to-internal-registry.jsonnet
docker pull quay.io/coreos/addon-resizer:1.0
docker tag quay.io/coreos/addon-resizer:1.0 internal-registry.com/organization/addon-resizer:1.0
docker push internal-registry.com/organization/addon-resizer:1.0
docker pull quay.io/prometheus/alertmanager:v0.15.2
docker tag quay.io/prometheus/alertmanager:v0.15.2 internal-registry.com/organization/alertmanager:v0.15.2
docker push internal-registry.com/organization/alertmanager:v0.15.2
...
2018-10-16 11:59:31 +01:00
Lucas Servén Marín
8a4b01427f Merge pull request #1958 from nrobert13/objectify_alertmanager_config
objectify alertmanager config
2018-10-15 13:11:26 +02:00
Matthias Loibl
e1ed50158b contrib/kube-prometheus: Fix AlertmanagerConfigInconsistent alert expression 2018-10-12 14:43:20 +02:00
Matthias Loibl
36c9451752 Update kube-prometheus' dependency of prometheus-operator to v0,24 2018-10-12 13:46:56 +02:00
Matthias Loibl
acd8924d57 Add triggered_total metric to alertmanager controller
Update client_golang for wrappable registerer
2018-10-10 18:06:00 +02:00
Manuel Rüger
be55290b3f *: Update to Prometheus v2.4.3 2018-10-09 18:35:29 +02:00
Robert Nemeti
bb6b5099dc allow backward compatibility with the textblock 2018-10-02 15:14:21 +02:00
Matthias Loibl
eca6e62402 contrib/kube-prometheus: Drop etcd metrics by apiserver & kube controller 2018-10-01 14:11:04 +02:00
Robert Nemeti
6c7c756b26 objectify alertmanager config
this way it will be possible to merge configs
2018-10-01 10:28:23 +02:00
Frederic Branczyk
873ef744a5 Merge pull request #1929 from mxinden/prometheus-2.4.0
*: Update to Prometheus 2.4.0
2018-09-28 15:58:21 +02:00
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