- Jun 04, 2018
-
-
Max Leonard Inden authored
89fc4e306972604eba2dcb961a6d29cc27a668ad introduced the new Prometheus rule file custom resource definition. This patch adjusts the kube-prometheus project to use the new custom resource definition.
-
Max Inden authored
kube-prometheus: Remove duplicate unused files
-
- May 31, 2018
-
-
Frederic Branczyk authored
-
Max Leonard Inden authored
afe9711ce2ef5dd0e0b5091f921ae9bc0aab3711 introduced contrib/kube-prometheus/0prometheus-operator-clusterRole.yaml and contrib/kube-prometheus/0prometheus-operator-deployment.yaml by mistake.
-
Frederic Branczyk authored
rbac: Remove Third Party Resources rules
-
Max Leonard Inden authored
Since PR 460 [1] the Prometheus Operator is using Kubernetes Custom Resource Definitions instead of Kubernetes Third Party Resources. Permissions to handle Third Party Resources in the RBAC rules of the Prometheus Operator is thereby obsolete. [1] https://github.com/coreos/prometheus-operator/pull/460
-
slene authored
-
slene authored
-
Frederic Branczyk authored
prometheus: Enable live migration of rule configmaps to rule file crds
-
Max Leonard Inden authored
With this patch the Prometheus Operator checks if there are any Kubernetes ConfigMaps inside the Prometheus namespace which fullfill the `Spec.RuleSelector` requirement. If so, it creates a RuleFile for each key in the `ConfigMap.Spec.Data` map inside the Prometheus namespace.
-
- May 30, 2018
-
-
Frederic Branczyk authored
Adds proxy_url to v1.Endpoint. Fixes #1385
-
Nicholas Whitehead authored
-
- May 29, 2018
-
-
Frederic Branczyk authored
Migrate alerts
-
Joakim Karlsson authored
-
Joakim Karlsson authored
Make certgen work on OSX
-
Frederic Branczyk authored
These alerts will be vendored in the future through jsonnet-bundler directly from the etcd repository.
-
Frederic Branczyk authored
-
- May 28, 2018
-
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
Cleanup
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
- May 25, 2018
-
-
Matthias Loibl authored
-
Matthias Loibl authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
-
Frederic Branczyk authored
fix doc guide link of kube-prometheus
-
alpha authored
-
Frederic Branczyk authored
kube-prometheus: add the watch verb (to the namespace apiGroup for the prometheus-operator ClusterRole).
-
- May 24, 2018
-
-
Joshua Olson authored
Also checking in the changes made to prometheus-rules.yaml by "make generate", in order to (hopefully) get the build to be green.
-
Joshua Olson authored
After modifying prometheus-operator.libsonnet (see commit ec19c16), these are the changes that were made to 0prometheus-operator-clusterRole.yaml by running "make generate".
-
- May 21, 2018
-
-
Joshua Olson authored
To get the "Failed to watch" error to stop happening in the prometheus-operator logs. Fixes #1324 for kube-prometheus.
-
- May 20, 2018
- May 18, 2018
-
-
Frederic Branczyk authored
prometheus: Introduce RuleFile Custom Resource Definition
-
Max Leonard Inden authored
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.
-