summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Benedikt <j.benedikt@partner.samsung.com>2019-11-13 04:13:34 -0500
committerJan Benedikt <j.benedikt@partner.samsung.com>2019-12-16 10:25:40 +0100
commit1b3915e96fa26728d6b4fcd657d85debb5e08827 (patch)
treead4cab48e9ec2f4c0d628d6c8b8f9e9cd71b3233
parent1ed2b6fce2c08867c55786fc4aeebe983f312b4c (diff)
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 <j.benedikt@partner.samsung.com>
-rw-r--r--build/data_lists/additional_packages.list2
-rw-r--r--docs/InstallGuide.rst11
2 files changed, 11 insertions, 2 deletions
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 <app_data_path>/<app_name>/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) <https://jira.onap.org/browse/SDNC-739/>`_ ::
+
+ $ 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 -
-----