Merge "Update alertmanager image to v0.20.0"
This commit is contained in:
commit
5376e3a8ab
@ -19,9 +19,9 @@ COMMAND="${@:-start}"
|
||||
|
||||
function start () {
|
||||
exec /bin/alertmanager \
|
||||
-config.file=/etc/alertmanager/config.yml \
|
||||
-storage.path={{ .Values.conf.command_flags.storage.path }} \
|
||||
-mesh.listen-address={{ .Values.conf.command_flags.mesh.listen_address }} \
|
||||
--config.file=/etc/alertmanager/config.yml \
|
||||
--storage.path={{ .Values.conf.command_flags.storage.path }} \
|
||||
--cluster.listen-address={{ .Values.conf.command_flags.cluster.listen_address }} \
|
||||
$(generate_peers)
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ function generate_peers () {
|
||||
final_pod_suffix=$(( {{ .Values.pod.replicas.alertmanager }}-1 ))
|
||||
for pod_suffix in `seq 0 "$final_pod_suffix"`
|
||||
do
|
||||
echo -mesh.peer={{ .Release.Name }}-$pod_suffix.$DISCOVERY_SVC:$MESH_PORT
|
||||
echo --cluster.peer={{ .Release.Name }}-$pod_suffix.$DISCOVERY_SVC:$MESH_PORT
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
alertmanager: docker.io/prom/alertmanager:v0.11.0
|
||||
alertmanager: docker.io/prom/alertmanager:v0.20.0
|
||||
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||
image_repo_sync: docker.io/docker:17.07.0
|
||||
pull_policy: IfNotPresent
|
||||
@ -196,7 +196,7 @@ conf:
|
||||
command_flags:
|
||||
storage:
|
||||
path: /var/lib/alertmanager/data
|
||||
mesh:
|
||||
cluster:
|
||||
listen_address: "0.0.0.0:6783"
|
||||
alertmanager:
|
||||
global:
|
||||
|
Loading…
Reference in New Issue
Block a user