Commit Graph

364 Commits

Author SHA1 Message Date
Simon Rüegg
92ff6e72ca [release-0.5] Pin Jsonnet dependencies
Pin all Jsonnet dependencies to current commit SHA.

Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2021-02-24 13:19:24 +01:00
Simon Pasquier
850326d6e0 Fix AlertmanagerConfigInconsistent alert
Previously the alert would fire when the number of Alertmanager pods
didn't match the number of replicas defined in the Alertmanager spec
even though all the running pods had the same configuration hash. This
type of issue is already covered by KubeStatefulSetUpdateNotRolledOut
(and possibly KubePodNotReady), having AlertmanagerConfigInconsistent
also active in this situation creates unnecessary noise.

With this change, the alert expression only returns when Alertmanager
pods have different configuration hash values irrespective of the number
of pod replicas. The message annotation has also been enhanced to report
the configuration hash for each pod.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-06-24 10:56:11 +02:00
Lili Cosic
6c28f1458a jsonnet: Run jb update 2020-04-17 15:11:22 +02:00
Lili Cosic
da94c33d4f jsonnet/kube-prometheus/jsonnetfile.json: Pin deps to their respective
releases
2020-04-17 14:05:49 +02:00
Frederic Branczyk
876bb9c5a1 Merge pull request #481 from omerlh/patch-2
Allow to configure EKS available IPs alert
2020-04-14 10:09:32 +02:00
Omer Levi Hevroni
6a08c7d69e Update kube-prometheus-eks.libsonnet 2020-04-13 10:51:13 +03:00
Johannes Würbach
2ab69fdac0 Fix rules window 2020-04-07 22:01:26 +02:00
Johannes Würbach
bb21ea32e3 Make prometheus-adapter config a real object 2020-04-07 15:32:33 +02:00
Omer Levi Hevroni
ea9f474ab3 Allow to configure EKS available IPs alert 2020-04-06 12:15:09 +03:00
Lili Cosic
5ee1229be8 jsonnetfile.json: Update deps 2020-04-03 11:59:10 +02:00
Lili Cosic
cf7bb8706c Merge pull request #463 from rajatvig/support_standard_labels_nodeexporter
Support standard labels for nodeexporter
2020-03-25 09:33:12 +01:00
paulfantom
0ad11b64d7 replace clock skew alert with one provided by node_exporter mixin 2020-03-24 15:49:10 +01:00
Rajat Vig
474d4e39dc Remove the app label for node-exporter 2020-03-24 10:41:51 +00:00
Rajat Vig
6f4f34606d Remove custom k8s-app label in favor of standard k8s labels in the manifest for node-exporter 2020-03-24 10:33:42 +00:00
paulfantom
6f37ddbcf9 jsonnet: expose prometheus-operator metrics over secure channel 2020-03-24 10:38:39 +01:00
Paul Gier
09813bea10 update prometheus-operator to v0.38.0 2020-03-23 10:49:14 -05:00
Benoit Gagnon
bb5de11c89 fix kube-state-metrics namespace override
use $._config.namespace instead of hard-coding 'monitoring'
2020-03-19 21:32:34 -04:00
Lili Cosic
285624d8fb Merge pull request #456 from carlosedp/pr404_fix
Add version and image source as config parameters on kube-state-metrics
2020-03-18 15:38:07 +01:00
Carlos de Paula
0d4bfe7db5 Add version and image source as config parameters.
Fixes #455.
2020-03-18 10:20:31 -03:00
Latch Mihay
c4561b3206 adding security context to kube-rbac-proxy (#450)
* adding security context to kube-rbac-proxy

* make clean generate-in-docker

* Revert "make clean generate-in-docker"

This reverts commit ed136f1e37.

* make clean generate-in-docker

Co-authored-by: Latch M <latch_mihaylov@homedepot.com>
2020-03-18 07:52:26 +01:00
paulfantom
081f418273 jsonnet/prometheus-adapter: use irate for CPU queries 2020-03-16 11:58:55 +01:00
Alok Kumar Singh
4ebc37e47b Fixed the port name for weave-net metrics endpoint 2020-03-12 10:40:18 +05:30
Alok Kumar Singh
486b233c6a Fixed the label for weave net selector 2020-03-12 10:33:38 +05:30
Frederic Branczyk
7a2572d1f9 Merge pull request #425 from alok87/weave-net
Weave Net Monitoring setup using kube-prometheus
2020-03-04 20:20:16 +01:00
Alok Kumar Singh
7a85d7d8a6 Weave Net name consistencies resolved
https://github.com/coreos/kube-prometheus/pull/425#pullrequestreview-368779890
2020-03-04 21:41:02 +05:30
Lili Cosic
15185bf4c0 jsonnet/kube-prometheus/kube-state-metrics: Remove probes 2020-03-04 11:02:32 +01:00
Alok Kumar Singh
29d4648af9 Added weavenet monitoring setup using kube-prometheus 2020-03-04 06:32:43 +05:30
Paul Gier
d24cf329d2 update prometheus-operator to v0.37.0 2020-03-03 11:55:51 -06:00
Lili Cosic
e4a8abe17f Merge pull request #434 from lilic/bump-1.9.5
Bump kube-state-metrics to 1.9.5
2020-03-03 16:49:00 +01:00
Frederic Branczyk
dd00a80be4 Merge pull request #432 from skyscrapers/fsAlert
Adjust the threshold of the NodeFilesystemSpaceFillingUp alert from the node-exporter mixin
2020-03-03 16:40:36 +01:00
Lili Cosic
f66f94ac79 jsonnet/kube-prometheus/../kube-state-metrics.libsonnet: Bump to 1.9.5 2020-03-03 16:29:01 +01:00
Lili Cosic
f2540537cb jsonnet/kube-prometheus: Add back kube-rbac-proxy containers to
kube-state-metrics. These were removed by accident when migrating to
using upstream libsonnet.
2020-03-03 13:49:37 +01:00
iuri aranda
eaa83c461f Adjust threshold for the SpaceFillingUp alert
Reduce threshold of the node-exporter alert to 15% space available, instead of 20% (default).

As per https://github.com/coreos/kube-prometheus/issues/294

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>
2020-03-03 09:47:03 +01:00
Frederic Branczyk
953c5464f7 Merge pull request #417 from benjaminhuo/alertmanager
Adjust Alertmanager inhibit conditions
2020-02-19 18:56:43 +01:00
Benjamin
af9c1539e3 Adjust Alertmanager inhibit conditions
Signed-off-by: Benjamin <benjamin@yunify.com>
2020-02-17 21:44:49 +08:00
Benjamin
c736d1a47b Change deprecated BaseImage to Image
Signed-off-by: Benjamin <benjamin@yunify.com>
2020-02-14 11:57:36 +08:00
Paul Gier
6a2cc72573 remove preserveUnknownFields from thanos CRD
This keeps the CRD compatible with kubernetes v1.14 and earlier
2020-02-11 10:13:25 -06:00
Paul Gier
bb0ca63533 upgrade prometheus-operator to v0.36.0 2020-02-11 09:46:06 -06:00
Paul Gier
0ed3f70014 Merge pull request #404 from olegmayko/master
Use kube-state-metrics jsonnet dependency #369
2020-02-11 09:45:27 -06:00
Oleg Mayko
f043bc32d3 Use kube-state-metrics jsonnet dependency #369 2020-02-11 08:12:22 +01:00
Paul Gier
cdaaf3d51c Remove field preserveUnknownFields from CRDs
This allows compatiblity with kubernetes v1.14 and earlier.
2020-02-07 14:40:56 -06:00
Paul Gier
7292f0950a update prometheus-operator to v0.35.0 2020-02-03 14:31:33 -06:00
Jason Tarasovic
27e0a4c9a2 jsonnet/kube-prometheus/alerts: included service in TargetDown message 2020-01-30 07:31:23 -06:00
Sergiusz Urbaniak
519ae8681e Merge pull request #397 from s-urbaniak/up-down
jsonnet: add general rules for up/down targets
2020-01-30 12:06:15 +01:00
Frederic Branczyk
3e7d8b391a *: Add default receivers
This patch adds a few out of the box receivers that only need their
notification provider configuration filled in, instead of figuring out
all the wiring for critical alerts for example.
2020-01-30 10:39:41 +01:00
Sergiusz Urbaniak
52e46a68a0 jsonnet: add general rules for up/down targets 2020-01-29 18:22:46 +01:00
paulfantom
bd20662d48 jsonnet: update component versions 2020-01-28 23:20:29 +01:00
Frederic Branczyk
23344a39eb *: Add some simple default inhibition rules 2020-01-24 17:18:18 +01:00
Frederic Branczyk
f2b4528b63 Merge pull request #387 from brancz/reduce-histogram-buckets
*: Throw away unused high cardinality apiserver duration buckets
2020-01-23 15:32:18 +01:00
Frederic Branczyk
a7628e0223 Merge pull request #381 from krasi-georgiev/remove-collectors
remove some unused collectors
2020-01-23 14:50:47 +01:00