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 | |
Maria Zlatkova | d50ed83 | 2018-01-11 11:42:42 +0200 | [diff] [blame] | 19 | To continue using Prometheus v1.7, add the following snippet |
| 20 | to the Reclass model of your MCP deployment. However, Mirantis |
| 21 | recommends that you update your monitoring stack to obtain new |
| 22 | features such as performance improvements. |
Bartosz Kupidura | ab79dbe | 2017-12-20 11:29:08 +0100 | [diff] [blame] | 23 | |
Bartosz Kupidura | ab79dbe | 2017-12-20 11:29:08 +0100 | [diff] [blame] | 24 | |
Maria Zlatkova | d50ed83 | 2018-01-11 11:42:42 +0200 | [diff] [blame] | 25 | .. code-block:: yaml |
Bartosz Kupidura | ab79dbe | 2017-12-20 11:29:08 +0100 | [diff] [blame] | 26 | |
Maria Zlatkova | d50ed83 | 2018-01-11 11:42:42 +0200 | [diff] [blame] | 27 | _param: |
| 28 | docker_image_alertmanager: docker-prod-virtual.docker.mirantis.net/openstack-docker/alertmanager:20171222124606 |
| 29 | docker_image_pushgateway: docker-prod-virtual.docker.mirantis.net/openstack-docker/pushgateway:20171222124606 |
| 30 | docker_image_prometheus: docker-prod-virtual.docker.mirantis.net/openstack-docker/prometheus:20171222124606 |
| 31 | docker_image_remote_storage_adapter: docker-prod-virtual.docker.mirantis.net/openstack-docker/remote_storage_adapter:20171222124606 |
| 32 | docker: |
| 33 | client: |
| 34 | stack: |
| 35 | monitoring: |
| 36 | service: |
| 37 | server: |
| 38 | environment: |
| 39 | PROMETHEUS_STORAGE_LOCAL_ENGINE: persisted |
| 40 | PROMETHEUS_STORAGE_LOCAL_TARGET_HEAP_SIZE: 3221225472 |
| 41 | PROMETHEUS_STORAGE_LOCAL_NUM_FINGERPRINT_MUTEXES: 4096 |
| 42 | |
| 43 | prometheus: |
| 44 | server: |
| 45 | version: 1.7 |
Bartosz Kupidura | ab79dbe | 2017-12-20 11:29:08 +0100 | [diff] [blame] | 46 | |
| 47 | |
| 48 | .. TODO: Add a link to the upgrade procedure. |