@@ -920,53 +920,46 @@ Elasticsearch while running this and it will not perform an install.
920
920
[[manual-upgrading-cluster-metrics]]
921
921
== Upgrading Cluster Metrics
922
922
923
- Use the following to upgrade an
924
- link:../../install_config/cluster_metrics.html[already-deployed Cluster Metrics install].
923
+ After upgrading an
924
+ link:../../install_config/cluster_metrics.html[already-deployed Cluster Metrics install],
925
+ you must update to a newer version of the metrics components.
926
+
927
+ - The update process stops all the metrics containers,
928
+ updates the metrics configuration files,
929
+ and redeploys the newer components.
925
930
926
- To update to a newer version of the metrics components you will need to use the `refresh`
927
- mode of the deployer. This will stop all the metrics containers, update the metrics configuration
928
- files and redeploy the newer components. The `refresh` option will not change the metrics route or
929
- delete the metrics persistent volume claim.
931
+ - It does not change the metrics route.
930
932
931
- Metrics stored to persistent volumes will still contain the persisted data when the updated
932
- metrics are brought back online.
933
+ - It does not delete the metrics persistent volume claim.
934
+ Metrics stored to persistent volumes before the update
935
+ are available after the update completes.
933
936
934
937
[IMPORTANT]
935
938
====
936
- All non-persisted metric values will be lost during the metric `refresh`.
937
-
938
- All local changes to the metrics configurations will be overwritten with new configurations meant for the latest install.
939
- This includes things like number of instances in a replica set.
939
+ The update deletes all non-persisted metric values
940
+ and overwrites local changes to the metrics configurations.
941
+ For example, the number of instances in a replica set is not saved.
940
942
====
941
943
942
- To perform the update you will need to follow the
943
- link:../../install_config/cluster_metrics.html#deploying-the-metrics-components[same steps]
944
- as when the metrics components were first deployed except this time you will need to specify the
945
- `MODE=refresh` option.
946
-
947
- You will also need to make sure you are using the correct template for your installation. Please see the following
948
- link:../../install_config/cluster_metrics.html#modifying-the-deployer-template[section] for the location of this template.
944
+ To update, follow the same steps as when the metrics components were
945
+ link:../../install_config/cluster_metrics.html#deploying-the-metrics-components[first deployed],
946
+ using the
947
+ link:../../install_config/cluster_metrics.html#modifying-the-deployer-template[correct template],
948
+ except this time, specify the `MODE=refresh` option:
949
949
950
- For instance, if before you deployed metrics using:
951
-
952
- ----
953
- $ oc new-app -f metrics-deployer.yaml \
954
- -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com
955
- ----
956
-
957
- You will now need to run:
950
+ ====
958
951
----
959
952
$ oc new-app -f metrics-deployer.yaml \
960
- -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics .example.com,MODE=redeploy
953
+ -p HAWKULAR_METRICS_HOSTNAME=hm .example.com,MODE=refresh <1>
961
954
----
962
-
963
- After this the metrics components should have been restarted and are now using the most recent versions.
964
-
955
+ <1> In the original deployment command, there was no `MODE=refresh`.
956
+ ====
965
957
966
958
[NOTE]
967
959
====
968
- It is normal to see a gap in the graphs during the time when the `refresh` is occuring. This is due to the
969
- metrics components not running and being available to gather metrics during this time.
960
+ During the update, the metrics components do not run.
961
+ Because of this, they cannot collect data
962
+ and a gap normally appears in the graphs.
970
963
====
971
964
972
965
[[additional-instructions-per-release]]
0 commit comments