summaryrefslogtreecommitdiffstats
path: root/docs/InstallGuide.rst
diff options
context:
space:
mode:
authorMilan Verespej <m.verespej@partner.samsung.com>2019-03-20 13:51:40 +0100
committerMilan Verespej <m.verespej@partner.samsung.com>2019-04-15 15:36:53 +0200
commit1a23047cf4b474359a91efc82212fd62ef7c4147 (patch)
treec0ee95f0ca033c04c1dacba5df74e318fe8123ee /docs/InstallGuide.rst
parenta058898611c812462cbd8334d062c3746cd464fc (diff)
Add monitoring script for deployment progress
Issue-ID: OOM-1724 Change-Id: Ie634a441641abd3afd4093661c5d4f57245946ee Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
Diffstat (limited to 'docs/InstallGuide.rst')
-rw-r--r--docs/InstallGuide.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst
index 6ed9c328..179c621c 100644
--- a/docs/InstallGuide.rst
+++ b/docs/InstallGuide.rst
@@ -393,6 +393,15 @@ After all the playbooks are finished, it will still take a lot of time until all
$ 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 ::