Add monitoring script for deployment progress
Issue-ID: OOM-1724
Change-Id: Ie634a441641abd3afd4093661c5d4f57245946ee
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst
index 6ed9c32..179c621 100644
--- a/docs/InstallGuide.rst
+++ b/docs/InstallGuide.rst
@@ -393,6 +393,15 @@
$ ssh -i ~/.ssh/offline_ssh_key root@10.8.8.4 # tailor this command to connect to your infra-node
$ watch -d -n 5 'kubectl get pods --all-namespaces'
+Alternatively you can monitor progress with ``helm_deployment_status.py`` script located in offline-installer directory. While on infra-node this can be achieved like this::
+
+ $ python helm_deployment_status.py -n <namespace_name> # namespace defaults to onap
+
+To automatically verify functionality, after deployment becomes ready or after timeout period expires, add path to healthcheck scripts::
+
+ $ python helm_deployment_status.py -hp <app_data_path>/<app_name>/helm_charts/robot/ete-k8s.sh
+
+It is strongly recommended to check help for ``helm_deployment_status.py`` to be able to tailor monitoring to your needs since default values might not be what you are looking for.
Final result of installation varies based on number of k8s nodes used and distribution of pods. In some dev envs we quite frequently hit problems with not all pods properly deployed. In successful deployments all jobs should be in successful state.
This can be verified using ::