@@ -1197,53 +1197,46 @@ Elasticsearch while running this and it will not perform an install.
1197
1197
[[manual-upgrading-cluster-metrics]]
1198
1198
== Upgrading Cluster Metrics
1199
1199
1200
- Use the following to upgrade an
1201
- link:../../install_config/cluster_metrics.html[already-deployed Cluster Metrics install].
1200
+ After upgrading an
1201
+ link:../../install_config/cluster_metrics.html[already-deployed Cluster Metrics install],
1202
+ you must update to a newer version of the metrics components.
1203
+
1204
+ - The update process stops all the metrics containers,
1205
+ updates the metrics configuration files,
1206
+ and redeploys the newer components.
1202
1207
1203
- To update to a newer version of the metrics components you will need to use the `refresh`
1204
- mode of the deployer. This will stop all the metrics containers, update the metrics configuration
1205
- files and redeploy the newer components. The `refresh` option will not change the metrics route or
1206
- delete the metrics persistent volume claim.
1208
+ - It does not change the metrics route.
1207
1209
1208
- Metrics stored to persistent volumes will still contain the persisted data when the updated
1209
- metrics are brought back online.
1210
+ - It does not delete the metrics persistent volume claim.
1211
+ Metrics stored to persistent volumes before the update
1212
+ are available after the update completes.
1210
1213
1211
1214
[IMPORTANT]
1212
1215
====
1213
- All non-persisted metric values will be lost during the metric `refresh`.
1214
-
1215
- All local changes to the metrics configurations will be overwritten with new configurations meant for the latest install.
1216
- This includes things like number of instances in a replica set.
1216
+ The update deletes all non-persisted metric values
1217
+ and overwrites local changes to the metrics configurations.
1218
+ For example, the number of instances in a replica set is not saved.
1217
1219
====
1218
1220
1219
- To perform the update you will need to follow the
1220
- link:../../install_config/cluster_metrics.html#deploying-the-metrics-components[same steps]
1221
- as when the metrics components were first deployed except this time you will need to specify the
1222
- `MODE=refresh` option.
1223
-
1224
- You will also need to make sure you are using the correct template for your installation. Please see the following
1225
- link:../../install_config/cluster_metrics.html#modifying-the-deployer-template[section] for the location of this template.
1221
+ To update, follow the same steps as when the metrics components were
1222
+ link:../../install_config/cluster_metrics.html#deploying-the-metrics-components[first deployed],
1223
+ using the
1224
+ link:../../install_config/cluster_metrics.html#modifying-the-deployer-template[correct template],
1225
+ except this time, specify the `MODE=refresh` option:
1226
1226
1227
- For instance, if before you deployed metrics using:
1228
-
1229
- ----
1230
- $ oc new-app -f metrics-deployer.yaml \
1231
- -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com
1232
- ----
1233
-
1234
- You will now need to run:
1227
+ ====
1235
1228
----
1236
1229
$ oc new-app -f metrics-deployer.yaml \
1237
- -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics .example.com,MODE=redeploy
1230
+ -p HAWKULAR_METRICS_HOSTNAME=hm .example.com,MODE=refresh <1>
1238
1231
----
1239
-
1240
- After this the metrics components should have been restarted and are now using the most recent versions.
1241
-
1232
+ <1> In the original deployment command, there was no `MODE=refresh`.
1233
+ ====
1242
1234
1243
1235
[NOTE]
1244
1236
====
1245
- It is normal to see a gap in the graphs during the time when the `refresh` is occuring. This is due to the
1246
- metrics components not running and being available to gather metrics during this time.
1237
+ During the update, the metrics components do not run.
1238
+ Because of this, they cannot collect data
1239
+ and a gap normally appears in the graphs.
1247
1240
====
1248
1241
1249
1242
[[additional-instructions-per-release]]
0 commit comments