mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
commit
f67b87ff1f
9 changed files with 41 additions and 10 deletions
CHANGELOG.md
Documentation/user-guides
VERSIONbundle.yamlcontrib/kube-prometheus
jsonnet/kube-prometheus/prometheus-operator
manifests
example
31
CHANGELOG.md
31
CHANGELOG.md
|
@ -1,3 +1,34 @@
|
|||
# Next release
|
||||
|
||||
* [CHANGE] Deprecate specification of Prometheus rules via ConfigMaps in favor of `PrometheusRule` CRDs
|
||||
|
||||
## 0.20.0 / 2018-06-05
|
||||
|
||||
With this release we introduce a new Custom Resource Definition - the
|
||||
`PrometheusRule` CRD. It addresses the need for rule syntax validation and rule
|
||||
selection accross namespaces. `PrometheusRule` replaces the configuration of
|
||||
Prometheus rules via K8s ConfigMaps. There are two migration paths:
|
||||
|
||||
1. Automated live migration: If the Prometheus Operator finds Kubernetes
|
||||
ConfigMaps that match the `RuleSelector` in a `Prometheus` specification, it
|
||||
will convert them to matching `PrometheusRule` resources.
|
||||
|
||||
2. Manual migration: We provide a basic CLI tool to convert Kubernetes
|
||||
ConfigMaps to `PrometheusRule` resources.
|
||||
|
||||
```bash
|
||||
go get -u github.com/coreos/prometheus-operator/cmd/po-rule-migration
|
||||
po-rule-migration \
|
||||
--rule-config-map=<path-to-config-map> \
|
||||
--rule-crds-destination=<path-to-rule-crd-destination>
|
||||
```
|
||||
|
||||
* [FEATURE] Add leveled logging to Prometheus Operator (#1277)
|
||||
* [FEATURE] Allow additional Alertmanager configuration in Prometheus CRD (#1338)
|
||||
* [FEATURE] Introduce `PrometheusRule` Custom Resource Definition (#1333)
|
||||
* [ENHANCEMENT] Allow Prometheus to consider all namespaces to find ServiceMonitors (#1278)
|
||||
* [BUGFIX] Do not attempt to set default memory request for Prometheus 2.0 (#1275)
|
||||
|
||||
## 0.19.0 / 2018-04-25
|
||||
|
||||
* [FEATURE] Allow specifying additional Prometheus scrape configs via secret (#1246)
|
||||
|
|
|
@ -60,8 +60,8 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.20.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
@ -101,7 +101,7 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.19.0
|
||||
0.20.0
|
||||
|
|
|
@ -83,7 +83,7 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
@ -5,7 +5,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
|
|||
namespace: 'default',
|
||||
|
||||
versions+:: {
|
||||
prometheusOperator: 'v0.19.0',
|
||||
prometheusOperator: 'v0.20.0',
|
||||
configmapReloader: 'v0.0.1',
|
||||
},
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.20.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
- args:
|
||||
- --kubelet-service=kube-system/kubelet
|
||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||
image: quay.io/coreos/prometheus-operator:v0.19.0
|
||||
image: quay.io/coreos/prometheus-operator:v0.20.0
|
||||
name: prometheus-operator
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue