From 1b3915e96fa26728d6b4fcd657d85debb5e08827 Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Wed, 13 Nov 2019 04:13:34 -0500 Subject: Add screen and jq to onap_rpm.list Added screen and jq packages to RPM repository list. These packages was added as helpful tools for debugging. Oniguruma package is dependency for jq package. Issue-ID: OOM-2200 Change-Id: I2bbd8bf75569156e845341a9766214b03401ec35 Signed-off-by: Jan Benedikt --- build/data_lists/additional_packages.list | 2 ++ docs/InstallGuide.rst | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 build/data_lists/additional_packages.list diff --git a/build/data_lists/additional_packages.list b/build/data_lists/additional_packages.list new file mode 100644 index 00000000..98d1dda1 --- /dev/null +++ b/build/data_lists/additional_packages.list @@ -0,0 +1,2 @@ +jq +screen diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst index 9239cad9..fc527374 100644 --- a/docs/InstallGuide.rst +++ b/docs/InstallGuide.rst @@ -39,7 +39,7 @@ The four nodes/VMs will be running these services: - kubernetes-etcd - kubernetes-control-plane -**NOTE:** kubernetes-* roles can be collocated directly with kubernetes nodes and not necessarily on infra node. +**NOTE:** kubernetes-* roles can be collocated directly with kubernetes nodes and not necessarily on infra node. - **kubernetes node 1-3**:: @@ -52,7 +52,7 @@ You don't need to care about these services now - that is the responsibility of Kubernetes cluster overview ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -In El Alto we are using RKE as k8s orchestrator method, however everyone is free to diverge from this example and can set it up in own way omitting our rke playbook execution. +In El Alto we are using RKE as k8s orchestrator method, however everyone is free to diverge from this example and can set it up in own way omitting our rke playbook execution. =================== ================== ==================== ============== ============ =============== KUBERNETES NODE OS NETWORK CPU RAM STORAGE @@ -466,6 +466,13 @@ Once all pods are properly deployed and in running state, one can verify functio $ cd //helm_charts/robot $ ./ete-k8s.sh onap health +For better work with terminal screen and jq packages were added . It can be installed from resources directory. + +Screen is a terminal multiplexer. With screen it is possible to have more terminal instances active. Screen as well keeps active SSH connections even terminal is closed. + +Jq can be used for editing json data format as output of kubectl. For example jq was used to troubleshoot `SDNC-739 (UEB - Listener in Crashloopback) `_ :: + + $ kubectl -n onap get job onap-sdc-sdc-be-config-backend -o json | jq "del(.spec.selector)" | jq "del(.spec.template.metadata.labels)" | kubectl -n onap replace --force -f - ----- -- cgit 1.2.3-korg