Commit Graph

24 Commits

Author SHA1 Message Date
paulfantom ec40014ac3 jsonnet: add grafana-mixin
Signed-off-by: paulfantom <pawel@krupa.net.pl>
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-01-04 09:14:43 +01:00
paulfantom dbc64a0300 jsonnet: do not hide alerting configuration
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-11-04 12:41:36 +01:00
Andrei Nistor a6442df06c Fix prometheus URL in prometheus-adapter. 2021-10-26 16:35:37 +03:00
paulfantom ade451bf04 jsonnet: refactor grafana component to include new kubernetes-grafana library 2021-10-20 19:24:39 +02:00
Damien Grisonnet 45adc03cfb jsonnet: update prometheus-adapter to v0.9.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-17 18:05:45 +02:00
Damien Grisonnet 97e77e9996 Merge pull request #1231 from dgrisonnet/fix-adapter-queries
Consolidate intervals used in prometheus-adapter CPU queries
2021-07-07 13:48:02 +02:00
Damien Grisonnet 8812e45501 jsonnet: readjust prometheus-adapter intervals
Previously, prometheus-adapter configuration wasn't taking into account
the scrape interval of kubelet, node-exporter and windows-exporter
leading to getting non fresh results, and even negative results from the
CPU queries when the irate() function was extrapolating data.
To fix that, we want to set the interval used in the irate() function in
the CPU queries to 4x scrape interval in order to extrapolate data
between the last two scrapes. This will improve the freshness of the cpu
usage exposed and prevent incorrect extrapolations.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-07-05 15:28:25 +02:00
ArthurSens f643955034 Update alertmanager mixin
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-06-08 18:19:23 +00:00
paulfantom c2ea96bf4f jsonnet: use common to populate options for additional objects
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-05-05 16:31:36 +02:00
Paweł Krupa 624c6c0108 Merge branch 'main' into feature/configRbacImage 2021-05-03 09:57:23 +02:00
Nagel, Felix 8c221441d1 fix formatting issues 2021-05-03 07:02:28 +02:00
Nagel, Felix f107e8fb16 fix formatting issues 2021-05-03 06:59:10 +02:00
Nagel, Felix 5761267842 can change kubeRbacProxy over $.values.common.images 2021-04-30 13:48:34 +02:00
Nagel, Felix be2964887f can change configmapReload over $.values.common.images 2021-04-30 12:46:48 +02:00
Damien Grisonnet ed5a2f94fc jsonnet: fix test failures with platformPatch
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-04-09 12:59:18 +02:00
Damien Grisonnet f06175bb3b jsonnet: add function to apply platform patches
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-31 18:00:04 +02:00
paulfantom 10f710bb58 jsonnet: pick kube-state-metrics version from versions.json file 2021-03-15 14:38:48 +01:00
paulfantom c88d18c9d2 *: allow automatic updates of installed components
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-02-23 14:24:55 +01:00
paulfantom c0a136a4c7 jsonnet: bump KSM to 1.9.8 and use multi-arch images 2021-02-23 12:07:49 +01:00
paulfantom c80a82b19a jsonnet/kube-prometheus: create k8s control plane component
* Extract ServiceMonitors related to k8s control plane from prometheus
object into separate one
* Add kubernetes-mixin to new object

Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-02-22 16:36:14 +01:00
paulfantom 4245ded81b jsonnet: bump node-exporter to 1.1.0 and remove deprecated flag 2021-02-06 19:58:45 +01:00
Johannes Würbach 0a79177c19 k8s-prometheus-adapter v0.8.3 2021-01-28 10:24:42 +01:00
paulfantom 7afbfa3534 jsonnet: move all images and versions into values.common
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-01-26 15:43:40 +01:00
paulfantom 1eedb90c17 jsonnet: move files around
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-01-15 15:07:10 +01:00