1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 03:38:43 +00:00

Merge pull request from mxinden/cut-0.20.0

Cut 0.20.0
This commit is contained in:
Max Inden 2018-06-05 16:56:22 +02:00 committed by GitHub
commit f67b87ff1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 41 additions and 10 deletions
CHANGELOG.md
Documentation/user-guides
VERSIONbundle.yaml
contrib/kube-prometheus
jsonnet/kube-prometheus/prometheus-operator
manifests
example
non-rbac
rbac/prometheus-operator

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
0.19.0
0.20.0

View file

@ -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

View file

@ -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',
},

View file

@ -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

View file

@ -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

View file

@ -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