blob: f1724d4c315104621abd7a53310948662f9ba7dd [file] [log] [blame]
Eric Debeau3cf9a632018-05-22 19:57:38 +00001.. This work is licensed under
2.. a Creative Commons Attribution 4.0 International License.
Rich Bennetta4cf27d2017-11-12 23:11:28 -05003.. http://creativecommons.org/licenses/by/4.0
Eric Debeau0f2c2832018-11-19 19:47:29 +00004.. Copyright 2017-2018 AT&T Intellectual Property. All rights reserved.
5.. Modifications Copyright 2018 Orange
6.. Modifications Copyright 2018 Amdocs
7.. Modifications Copyright 2018 Huawei
Eric Debeauaa55c502019-04-15 07:00:19 +00008.. Modifications Copyright 2019 Orange
Eric Debeau7e900412017-11-09 22:02:38 +00009
Rich Bennetta4cf27d2017-11-12 23:11:28 -050010Setting Up ONAP
11===============
Eric Debeau7e900412017-11-09 22:02:38 +000012
Eric Debeau43f5aec2018-11-24 08:29:47 +000013.. _installing-onap:
14
Eric Debeau0f2c2832018-11-19 19:47:29 +000015ONAP is deployed using the ONAP Operations Manager (OOM).
Rich Bennett52b5c092018-09-01 09:48:13 -040016
Eric Debeau0f2c2832018-11-19 19:47:29 +000017The recommended ONAP deployment is based on Kubernetes, Docker containers
18and Helm installer.
Rich Bennett52b5c092018-09-01 09:48:13 -040019
Eric Debeau0f2c2832018-11-19 19:47:29 +000020Requirements
21------------
Rich Bennett52b5c092018-09-01 09:48:13 -040022
Eric Debeau0f2c2832018-11-19 19:47:29 +000023The following is the recommended component version.
Rich Bennett52b5c092018-09-01 09:48:13 -040024
Eric Debeau0f2c2832018-11-19 19:47:29 +000025 =========== =========
26 Software Version
27 =========== =========
Eric Debeau4378efd2019-05-22 07:37:45 +000028 Kubernetes 1.13.5
29 Helm 2.12.3
30 kubectl 1.13.5
31 Docker 18.09.5
Eric Debeau0f2c2832018-11-19 19:47:29 +000032 =========== =========
Rich Bennett52b5c092018-09-01 09:48:13 -040033
Eric Debeau0f2c2832018-11-19 19:47:29 +000034The ONAP full installation is validated with the following footprint:
Eric Debeau4378efd2019-05-22 07:37:45 +000035
36.. csv-table:: Validated installation footprint
37 :widths: 3,5,10
38
39 VM number, VM flavor, VM role
40 12, 16 GB RAM - 8 vCPUs, Running the K8S worker role
41 3, 8 GB RAM - 4 vCPUs, Running the K8S controller role
42 1, 8 GB RAM - 4 vCPUs, Running the shared NFS server for /dockerdata-nfs/
Eric Debeau0f2c2832018-11-19 19:47:29 +000043
44Installation
45------------
46
47Creation of Kubernetes cluster is described here:
Eric Debeau3cf9a632018-05-22 19:57:38 +000048
Rich Bennetta4cf27d2017-11-12 23:11:28 -050049.. toctree::
50 :maxdepth: 1
51 :titlesonly:
Eric Debeau7e900412017-11-09 22:02:38 +000052
Eric Debeau0f2c2832018-11-19 19:47:29 +000053 ../../../../submodules/oom.git/docs/oom_cloud_setup_guide.rst
54
55ONAP installation is described here:
56
57.. toctree::
58 :maxdepth: 1
59 :titlesonly:
60
61 ../../../../submodules/oom.git/docs/oom_quickstart_guide.rst
62
Petr Ospalý26338532019-03-15 17:47:46 +010063Alternative way of offline ONAP installation is described here:
64
65.. toctree::
66 :maxdepth: 1
67 :titlesonly:
68
69 ../../../../submodules/oom/offline-installer.git/docs/index.rst
70
Eric Debeau4378efd2019-05-22 07:37:45 +000071.. note::
72 Prior to deployment of ONAP, there is no need to download manually any Docker container.
73 The OOM deployment takes care to automatically download the Docker containers.
74
75 It is also possible to deploy a subset of ONAP components on a single VM.
76 The VM flavor to be used depends on the number of ONAP components to be
77 deployed.
78
Eric Debeau0f2c2832018-11-19 19:47:29 +000079NodePorts
80---------
81
82NodePorts are used to allow client applications, that run outside of
83Kubernetes, access to ONAP components deployed by OOM.
84A NodePort maps an externally reachable port to an internal port of an ONAP
85microservice.
86It should be noted that the use of NodePorts is temporary.
87An alternative solution is currently being scoped for the Dublin Release.
88
Eric Debeauaa55c502019-04-15 07:00:19 +000089More information from official Kubernetes documentation about
90`NodePort <https://kubernetes.io/docs/concepts/services-networking/service/#nodeport>`_.
91
92The following table lists all the NodePorts used by ONAP.
93
94.. csv-table:: NodePorts table
95 :file: nodeports.csv
96 :widths: 20,20,20,20,20
97 :header-rows: 1
98
99This table retrieves information from the ONAP deployment using the following
100Kubernetes command:
101
102.. code-block:: bash
103
104 kubectl get svc -n onap -o go-template='{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{.}}{{"\n"}}{{end}}{{end}}{{end}}'
105