Add NodePorts table
[doc.git] / docs / guides / onap-developer / settingup / index.rst
index d9139c7..2b9f8b1 100644 (file)
@@ -5,10 +5,13 @@
 .. Modifications Copyright 2018 Orange
 .. Modifications Copyright 2018 Amdocs
 .. Modifications Copyright 2018 Huawei
+.. Modifications Copyright 2019 Orange
 
 Setting Up ONAP
 ===============
 
+.. _installing-onap:
+
 ONAP is deployed using the ONAP Operations Manager (OOM).
 
 The recommended ONAP deployment is based on Kubernetes, Docker containers
@@ -22,9 +25,9 @@ The following is the recommended component version.
   ===========  =========
   Software     Version
   ===========  =========
-  Kubernetes   1.11.2
+  Kubernetes   1.11.5
   Helm         2.9.1
-  kubectl      1.11.2
+  kubectl      1.11.5
   Docker       17.03.x
   ===========  =========
 
@@ -53,6 +56,14 @@ ONAP installation is described here:
 
    ../../../../submodules/oom.git/docs/oom_quickstart_guide.rst
 
+Alternative way of offline ONAP installation is described here:
+
+.. toctree::
+   :maxdepth: 1
+   :titlesonly:
+
+   ../../../../submodules/oom/offline-installer.git/docs/index.rst
+
 NodePorts
 ---------
 
@@ -63,8 +74,23 @@ microservice.
 It should be noted that the use of NodePorts is temporary.
 An alternative solution is currently being scoped for the Dublin Release.
 
-* The list of node ports used by ONAP is documented
-  in `ONAP Node Port List <https://wiki.onap.org/display/DW/OOM+NodePort+List>`_.
+More information from official Kubernetes documentation about
+`NodePort <https://kubernetes.io/docs/concepts/services-networking/service/#nodeport>`_.
+
+The following table lists all the NodePorts used by ONAP.
+
+.. csv-table:: NodePorts table
+   :file: nodeports.csv
+   :widths: 20,20,20,20,20
+   :header-rows: 1
+
+This table retrieves information from the ONAP deployment using the following
+Kubernetes command:
+
+.. code-block:: bash
+
+  kubectl get svc -n onap -o go-template='{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{.}}{{"\n"}}{{end}}{{end}}{{end}}'
+
 
 .. note::
    Prior to deployment of ONAP, there is no need to download manually any Docker container.