[stable/prometheus-operator] Upgrade prometheus and prometheus-operator (#10931)

* Fix typo

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Use prometheus 2.6.1 and prometheus-operator 2.7

Bumping version of chart to 2.0.0 to indicate a change in
the way the operator stateful sets behave as described here
https://github.com/coreos/prometheus-operator/issues/2339

Prometheus 2.6.x has some very positive changes to startup
time that are particularly advantageous when using PVs and
running large instances

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
This commit is contained in:
Vasily Sliouniaev
2019-01-28 01:35:46 -08:00
committed by Kubernetes Prow Robot
parent 3b169822ff
commit 3bcc64f351
4 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 1.9.0
version: 2.0.0
appVersion: 0.26.0
home: https://github.com/coreos/prometheus-operator
keywords:
+12 -6
View File
@@ -324,6 +324,13 @@ grafana:
enabled: true
label: grafana_datasource
extraConfigmapMounts: []
# - name: certs-configmap
# mountPath: /etc/grafana/ssl/
# configMap: certs-configmap
# readOnly: true
## Component scraping the kube api server
##
kubeApiServer:
@@ -457,6 +464,8 @@ kubeStateMetrics:
kube-state-metrics:
rbac:
create: true
podSecurityPolicy:
enabled: true
## Deploy node exporter as a daemonset to all nodes
##
@@ -594,7 +603,7 @@ prometheusOperator:
##
image:
repository: quay.io/coreos/prometheus-operator
tag: v0.26.0
tag: v0.27.0
pullPolicy: IfNotPresent
## Configmap-reload image to use for reloading configmaps
@@ -607,7 +616,7 @@ prometheusOperator:
##
prometheusConfigReloaderImage:
repository: quay.io/coreos/prometheus-config-reloader
tag: v0.26.0
tag: v0.27.0
## Hyperkube image to use when cleaning up
##
@@ -715,10 +724,7 @@ prometheus:
##
image:
repository: quay.io/prometheus/prometheus
tag: v2.5.0
# repository: quay.io/coreos/prometheus
# tag: v2.5.0
tag: v2.6.1
## Tolerations for use with node taints
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
@@ -62,7 +62,7 @@ spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: {{ .Values.prometheus.alertmanagerSpec.podAntiAffinityTopologyKey }}
- topologyKey: {{ .Values.alertmanager.alertmanagerSpec.podAntiAffinityTopologyKey }}
labelSelector:
matchLabels:
app: alertmanager
@@ -73,7 +73,7 @@ spec:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: {{ .Values.prometheus.alertmanagerSpec.podAntiAffinityTopologyKey }}
topologyKey: {{ .Values.alertmanager.alertmanagerSpec.podAntiAffinityTopologyKey }}
labelSelector:
matchLabels:
app: alertmanager
+3 -6
View File
@@ -603,7 +603,7 @@ prometheusOperator:
##
image:
repository: quay.io/coreos/prometheus-operator
tag: v0.26.0
tag: v0.27.0
pullPolicy: IfNotPresent
## Configmap-reload image to use for reloading configmaps
@@ -616,7 +616,7 @@ prometheusOperator:
##
prometheusConfigReloaderImage:
repository: quay.io/coreos/prometheus-config-reloader
tag: v0.26.0
tag: v0.27.0
## Hyperkube image to use when cleaning up
##
@@ -724,10 +724,7 @@ prometheus:
##
image:
repository: quay.io/prometheus/prometheus
tag: v2.5.0
# repository: quay.io/coreos/prometheus
# tag: v2.5.0
tag: v2.6.1
## Tolerations for use with node taints
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/