Commit Graph

22 Commits

Author SHA1 Message Date
Matthias Loibl
d9bb0c2ec4 Update Prometheus Operator in kube-prometheus to v0.29.0 2019-02-20 12:46:39 +01:00
Julius Volz
a09da4faf5 Update component versions in docs and jsonnets 2019-02-04 20:04:28 +01:00
Frederic Branczyk
31bb1a9353 *: re-generate kube-prometheus 2019-01-08 16:18:57 +01:00
Sergiusz Urbaniak
fc65336082 kube-prometheus: regenerate 2018-11-30 14:28:45 +01:00
Frederic Branczyk
830500cfc7 kube-prometheus: Re-generate 2018-10-25 13:24:37 +02:00
Matthias Loibl
e2476ce2ef contrib/kube-prometheus: Generate new manifests and docs with prom operator v0.24 2018-10-12 14:01:54 +02:00
Frederic Branczyk
159eb05497 kube-prometheus: Update dependencies 2018-08-13 15:21:00 +02:00
William Leese
aee5d45255 pull in dep changes
Change-Id: I589eb7b007f9ac035936c95eaa818497607038bc
2018-07-26 09:45:17 +02:00
William Leese
9db9ae932a make format generate-in-docker
Change-Id: I54f6f26449b0f16b7be2f202ec93e7c29a377108
2018-07-26 09:02:48 +02:00
Frederic Branczyk
9a011bb8ac kube-prometheus: Use locking mechanism for jsonnet dependencies 2018-07-25 17:21:50 +02:00
Haoyu Wang
6f3eac5f4c prometheus: Add ability to configure apiserver config of kubernetes_sd_config (#1439) 2018-07-25 15:22:59 +02:00
Lucas Serven
d1cd951903 *: regenerate 2018-07-23 13:28:14 +02:00
Frederic Branczyk
9ec8ae65ee *: Allow settings custom tags of container images 2018-07-09 13:23:00 +02:00
Frederic Branczyk
9c26600e0a *: Fix CRD generation 2018-07-02 16:54:56 +02:00
Frederic Branczyk
171b7c41e1 *: Re-generate 2018-07-02 10:54:27 +02:00
Tamal Saha
0de5a5c8cd Update client libraries to Kubernetes 1.11 2018-07-01 09:23:00 -07:00
Frederic Branczyk
f434ee9ae9 kube-prometheus: Regenerate prometheus CRD 2018-06-27 10:24:33 +02:00
Frederic Branczyk
6312998080 kube-prometheus: Bump various versions 2018-06-25 13:48:36 +02:00
Frederic Branczyk
9b4f6ce56b *: Remove PrometheusRuleSelector 2018-06-05 13:59:31 +02:00
Frederic Branczyk
e84b101fe7 *: Rename RuleFile to PrometheusRule 2018-06-05 13:34:13 +02: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
Frederic Branczyk
3388f96afe Address comments 2018-05-06 08:29:52 -07:00