diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-06-03 10:41:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-03 10:41:03 +0000 |
commit | 82052ddde7b2896c05c7b930d8e09d582025f0b3 (patch) | |
tree | 77c7a36634b35fe82f7795fbdce787181ba33782 /docs | |
parent | f45f73f749fffb301d825ec53fae2878c505980d (diff) | |
parent | 32bf2fbf337448d5a43b630677dbd72756f00cc0 (diff) |
Merge changes from topic "OOM-1806"
* changes:
Add doc for new healthcheck feature in helm_deployment_status.py
Make healthcheck script output unbuffered
Support running healthcheck in any mode supported
Always show healthcheck output if it was run
Support SSL certificate based authentication to kube API
Add Kubernetes class to track API connection settings
Diffstat (limited to 'docs')
-rw-r--r-- | docs/InstallGuide.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst index 7849047d..95b5749f 100644 --- a/docs/InstallGuide.rst +++ b/docs/InstallGuide.rst @@ -406,23 +406,23 @@ This will take a while so be patient. .. _oooi_installguide_postinstall: -Part 4. Postinstallation and troubleshooting --------------------------------------------- +Part 4. Post-installation and troubleshooting +--------------------------------------------- -After all the playbooks are finished, it will still take a lot of time until all pods will be up and running. You can monitor your newly created kubernetes cluster for example like this:: +After all of the playbooks are run successfully, it will still take a lot of time until all pods are up and running. You can monitor your newly created kubernetes cluster for example like this:: $ 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:: +Alternatively you can monitor progress with ``helm_deployment_status.py`` script located in offline-installer directory. Transfer it to infra-node and run:: $ 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:: +To automatically verify functionality with healthchecks after deployment becomes ready or after timeout period expires, append ``-hp`` switch followed by the full path to the healthcheck script and ``--health-mode`` optional switch with appropriate mode supported by that script (``health`` by default, ``--help`` displays available modes):: - $ python helm_deployment_status.py -hp <app_data_path>/<app_name>/helm_charts/robot/ete-k8s.sh + $ python helm_deployment_status.py -hp <app_data_path>/<app_name>/helm_charts/robot/ete-k8s.sh --health-mode <healthcheck mode> -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. +It is strongly recommended to tailor ``helm_deployment_status.py`` to your needs since default values might not be what you'd expect. The defaults can be displayed with ``--help`` switch. 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 :: |