Commit Graph

32 Commits

Author SHA1 Message Date
Max Leonard Inden
cea2da78e4 contrib/kube-prometheus: Generate 2018-11-13 16:25:17 +01:00
Dmitry Verkhoturov
5a0835fa26 bump rules 2018-11-07 12:59:40 +03:00
Dmitry Verkhoturov
3c6059c6a3 revert unnecessary replacements of job_name 2018-11-07 12:31:00 +03:00
Dmitry Verkhoturov
681a18ef3a fix labels 2018-11-06 16:41:01 +03:00
Matthias Loibl
29e876d023 contrib/kube-promeheus: Add AlertmanagerMembersInconsistent to manifests 2018-10-26 17:31:08 +02:00
Frederic Branczyk
830500cfc7 kube-prometheus: Re-generate 2018-10-25 13:24:37 +02:00
kkc
012a60163e contrib: fix typo in contrib prometheus rules
Change `Promehteus` to `Prometheus`
2018-10-20 00:15:02 +08:00
Matthias Loibl
1655e572a6 contrib/kube-prometheus: Generate AlertmanagerConfigInconsistent 2018-10-12 14:44:40 +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
Lucas Serven
7d97b71a62 contrib: regenerate 2018-09-28 11:47:39 +02:00
David Lefever
57a0e161ff contrib/kube-prometheus: Run jb update and generate all manifests. 2018-09-26 22:57:11 +02:00
Matthias Loibl
df65f57fb4 contrib/kube-prometheus: Generate new manifests after fixing tyops in rules 2018-09-14 13:46:18 +02:00
Matthias Loibl
b308b25acc contrib/kube-prometheus: Generate new rules based on latest jsonnet changes 2018-09-14 11:29:45 +02:00
Matthias Loibl
5a935379d6 contrib/kube-prometheus: Run jb update and generate all manifests 2018-09-14 11:05:32 +02:00
Frederic Branczyk
2c288a7983 kube-prometheus: Re-generate 2018-09-05 23:05:56 +02:00
Sergiusz Urbaniak
b338940208 kube-prometheus: bump kubernetes-mixins
This bumps the kubernetes-mixin dependency to add
https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/76.
2018-09-05 12:10:20 +02:00
Sergiusz Urbaniak
af5fb9ee09 kubernetes-prometheus: regenerate
Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
2018-08-23 13:38:13 +02:00
Frederic Branczyk
13b747e1ff kube-prometheus: Upgrade jsonnet dependencies 2018-08-21 17:24:50 +02:00
Henrique Fernandes
25bb07fe7d Fix typos 2018-08-08 10:14:23 -03:00
Ali Rizwan
d728ab5511 Only alert for nodes that currently exist (#1661) 2018-07-23 12:20:54 +02:00
Lucas Serven
4d2cddad54 contrib: regenerate 2018-07-19 16:05:34 +02:00
Frederic Branczyk
4b6a761dc5 kube-prometheus: Update kubernetes monitoring mixing 2018-06-18 14:28:19 +02:00
Aleksandar Topuzovic
acb7ce62bf Commit generated files 2018-06-05 15:05:41 +01:00
Frederic Branczyk
e84b101fe7 *: Rename RuleFile to PrometheusRule 2018-06-05 13:34:13 +02:00
Max Leonard Inden
8f3b505049 kube-prometheus: Adjust to new Prometheus rule file CRD
89fc4e306972604eba2dcb961a6d29cc27a668ad introduced the new Prometheus
rule file custom resource definition. This patch adjusts the
kube-prometheus project to use the new custom resource definition.
2018-06-04 20:23:02 +02:00
Frederic Branczyk
64db049d3a kube-prometheus: Migrate kube-prometheus alerts to jsonnet 2018-05-29 11:06:59 +02:00
Frederic Branczyk
c11db46863 kube-prometheus: Re-generate 2018-05-25 17:01:41 +02:00
Joshua Olson
3605c0eb44 Also checking in the changes made to prometheus-rules.yaml by "make generate", in order to (hopefully) get the build to be green. 2018-05-24 16:53:32 -05:00
Max Leonard Inden
9e180452f8 prometheus: Introduce RuleFile Custom Resource Definition
This patch introduces a new Custom Resource Definition to the
Prometheus Operator - the Rule CRD. It addresses two main
needs:

1. Prometheus (alerting and recording) Rule validation during creation time
via Kubernetes Custom Resource Definition validation.

2. Life-cycle management of Prometheus application Rules alongside the
application itself, inside the applications Kubernetes namespace, not
necessarily the namespace of the scraping Prometheus instance.

A user defines Prometheus alerting and recording Rules via a Kubernetes
Custom Resource Definition. These Custom Resource Definitions can be
fully validated by the Kubernetes API server during creation time via
automatically generated OpenAPI specifications. Instead of the
restriction of a Prometheus instance to only select Rule definitions
inside its own namespace, the Prometheus specification is extended to
also specify namespaces to look for Rule Custom Resource Definitions
outside its own namespace.

---

Dependent technical changes:

- prometheus: Use github.com/jimmidyson/configmap-reload to reload rules

- prometheus: Remove Prometheus Statefulset deletion function. Starting
with K8s >=1.8 this is handled via OwnerReferences.

- prometheus: Do not add rule files checksum to Prometheus configuration
secret

- prometheus: Update StatefulSet only on relevant changes. Instead of
updating the Prometheus StatefulSet on every `sync()` run, only update
it if the input parameters to `makeStatefulSet` change.  Enforce this
via a checksum of the parameters which is saved inside the annotations
of the statefulset.

- e2e/prometheus: Check how often resources (Secret, ConfigMap,
Prometheus CRD, Service) are updated to enforce that Prometheus Operator
only updated created resources if necessary.

- contrib/prometheus-config-reloader: Remove logic to retriev K8s
ConfigMaps. These are mounted into the pod right away now.
2018-05-18 16:27:20 +02:00
Giancarlo Rubio
2a6b3db38b Fix CI running make generate (#1327) 2018-05-10 17:50:14 +02:00
Frederic Branczyk
edf21e4382 kube-prometheus/jsonnet: Use jsonnet-bundler 2018-04-28 19:05:19 +01:00