Bartosz Kupidura | ab79dbe | 2017-12-20 11:29:08 +0100 | [diff] [blame] | 1 | --- |
| 2 | summary: > |
| 3 | Updated the StackLight components to newer versions |
| 4 | |
| 5 | upgrade: |
| 6 | - | |
| 7 | Updated the following StackLight components: |
| 8 | |
| 9 | - Prometheus server to version 2.0.0 |
| 10 | - Alertmanager to version 0.11.0 |
| 11 | - Pushgateway to version 0.4.0 |
| 12 | |
| 13 | .. important:: |
| 14 | |
| 15 | The new version of Prometheus is not backward compatible |
| 16 | with previous versions. Therefore, you must upgrade the |
| 17 | monitoring stack as described in the MCP Operations Guide. |
| 18 | |
| 19 | If You want to stick to 1.7 (NOT RECOMMENDATED), update |
| 20 | reclass model: |
| 21 | |
| 22 | .. code-block:: yaml |
| 23 | |
| 24 | _param: |
| 25 | docker_image_alertmanager: docker-prod-virtual.docker.mirantis.net/openstack-docker/alertmanager:20171222124606 |
| 26 | docker_image_pushgateway: docker-prod-virtual.docker.mirantis.net/openstack-docker/pushgateway:20171222124606 |
| 27 | docker_image_prometheus: docker-prod-virtual.docker.mirantis.net/openstack-docker/prometheus:20171222124606 |
| 28 | docker_image_remote_storage_adapter: docker-prod-virtual.docker.mirantis.net/openstack-docker/remote_storage_adapter:20171222124606 |
| 29 | docker: |
| 30 | client: |
| 31 | stack: |
| 32 | monitoring: |
| 33 | service: |
| 34 | server: |
| 35 | environment: |
| 36 | PROMETHEUS_STORAGE_LOCAL_ENGINE: persisted |
| 37 | PROMETHEUS_STORAGE_LOCAL_TARGET_HEAP_SIZE: 3221225472 |
| 38 | PROMETHEUS_STORAGE_LOCAL_NUM_FINGERPRINT_MUTEXES: 4096 |
| 39 | |
| 40 | prometheus: |
| 41 | server: |
| 42 | version: 1.7 |
| 43 | |
| 44 | |
| 45 | .. TODO: Add a link to the upgrade procedure. |