@@ -908,6 +908,58 @@ in previous versions. There should be minimal performance impact to
908
908
Elasticsearch while running this and it will not perform an install.
909
909
====
910
910
911
+ [[manual-upgrading-cluster-metrics]]
912
+ == Upgrading Cluster Metrics
913
+
914
+ Use the following to upgrade an
915
+ link:../../install_config/cluster_metrics.html[already-deployed Cluster Metrics install].
916
+
917
+ To update to a newer version of the metrics components you will need to use the `refresh`
918
+ mode of the deployer. This will stop all the metrics containers, update the metrics configuration
919
+ files and redeploy the newer components. The `refresh` option will not change the metrics route or
920
+ delete the metrics persistent volume claim.
921
+
922
+ Metrics stored to persistent volumes will still contain the persisted data when the updated
923
+ metrics are brought back online.
924
+
925
+ [IMPORTANT]
926
+ ====
927
+ All non-persisted metric values will be lost during the metric `refresh`.
928
+
929
+ All local changes to the metrics configurations will be overwritten with new configurations meant for the latest install.
930
+ This includes things like number of instances in a replica set.
931
+ ====
932
+
933
+ To perform the update you will need to follow the
934
+ link:../../install_config/cluster_metrics.html#deploying-the-metrics-components[same steps]
935
+ as when the metrics components were first deployed except this time you will need to specify the
936
+ `MODE=refresh` option.
937
+
938
+ You will also need to make sure you are using the correct template for your installation. Please see the following
939
+ link:../../install_config/cluster_metrics.html#modifying-the-deployer-template[section] for the location of this template.
940
+
941
+ For instance, if before you deployed metrics using:
942
+
943
+ ----
944
+ $ oc new-app -f metrics-deployer.yaml \
945
+ -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com
946
+ ----
947
+
948
+ You will now need to run:
949
+ ----
950
+ $ oc new-app -f metrics-deployer.yaml \
951
+ -p HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com,MODE=redeploy
952
+ ----
953
+
954
+ After this the metrics components should have been restarted and are now using the most recent versions.
955
+
956
+
957
+ [NOTE]
958
+ ====
959
+ It is normal to see a gap in the graphs during the time when the `refresh` is occuring. This is due to the
960
+ metrics components not running and being available to gather metrics during this time.
961
+ ====
962
+
911
963
[[additional-instructions-per-release]]
912
964
== Additional Manual Steps Per Release
913
965
0 commit comments