blob: 7fa4df5bcf3713962ce9f41881aaf64c7ed27171 [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
andreasgeissler64847da2020-06-03 16:22:37 +020017The recommended ONAP deployment can be deployed on a private set of physical
18hosts or VMs (or even a combination of the two) and is based on Kubernetes,
19Docker containers and Helm installer.
20
Rich Bennett52b5c092018-09-01 09:48:13 -040021
Eric Debeau0f2c2832018-11-19 19:47:29 +000022Requirements
23------------
Rich Bennett52b5c092018-09-01 09:48:13 -040024
andreasgeissler64847da2020-06-03 16:22:37 +020025OOM requires the following Software components.
Rich Bennett52b5c092018-09-01 09:48:13 -040026
andreasgeissler64847da2020-06-03 16:22:37 +020027* Kubernetes
28* Helm
29* kubectl
30* Docker
Rich Bennett52b5c092018-09-01 09:48:13 -040031
andreasgeissler64847da2020-06-03 16:22:37 +020032The Software versions needed for the specific ONAP release
33as well as the minimum Hardware configuration can be found in the
34:ref:`OOM Cloud Setup Guide<onap-oom:oom_cloud_setup_guide>`
Eric Debeau4378efd2019-05-22 07:37:45 +000035
Eric Debeau0f2c2832018-11-19 19:47:29 +000036
37Installation
38------------
39
40Creation of Kubernetes cluster is described here:
Eric Debeau3cf9a632018-05-22 19:57:38 +000041
Rich Bennetta4cf27d2017-11-12 23:11:28 -050042.. toctree::
Rene_Robert6654af62019-07-04 09:48:56 +020043 :maxdepth: 2
Rich Bennetta4cf27d2017-11-12 23:11:28 -050044 :titlesonly:
Eric Debeau7e900412017-11-09 22:02:38 +000045
andreasgeissler64847da2020-06-03 16:22:37 +020046:ref:`OOM Cloud Setup Guide<onap-oom:oom_cloud_setup_guide>`
47
48:ref:`ONAP on HA Kubernetes Cluster<onap-oom:onap-on-kubernetes-with-rancher>`
Eric Debeau0f2c2832018-11-19 19:47:29 +000049
50ONAP installation is described here:
51
52.. toctree::
Rene_Robert6654af62019-07-04 09:48:56 +020053 :maxdepth: 2
Eric Debeau0f2c2832018-11-19 19:47:29 +000054 :titlesonly:
55
andreasgeissler64847da2020-06-03 16:22:37 +020056:ref:`OOM Quickstart Guide<onap-oom:oom_quickstart_guide>`
57
58:ref:`OOM User Guide<onap-oom:oom_user_guide>`
Eric Debeau0f2c2832018-11-19 19:47:29 +000059
Petr Ospalý26338532019-03-15 17:47:46 +010060Alternative way of offline ONAP installation is described here:
61
62.. toctree::
Rene_Robert6654af62019-07-04 09:48:56 +020063 :maxdepth: 2
Petr Ospalý26338532019-03-15 17:47:46 +010064 :titlesonly:
65
andreasgeissler64847da2020-06-03 16:22:37 +020066:ref:`OOM Offline-Installer<onap-oom-offline-installer:master_index>`
Petr Ospalý26338532019-03-15 17:47:46 +010067
Eric Debeau4378efd2019-05-22 07:37:45 +000068.. note::
andreasgeissler64847da2020-06-03 16:22:37 +020069 Prior to deployment of ONAP, there is no need to download manually any Docker
70 container. The OOM deployment takes care to automatically download the Docker
71 containers.
Eric Debeau4378efd2019-05-22 07:37:45 +000072
73 It is also possible to deploy a subset of ONAP components on a single VM.
74 The VM flavor to be used depends on the number of ONAP components to be
75 deployed.
76
Eric Debeau0f2c2832018-11-19 19:47:29 +000077NodePorts
78---------
79
80NodePorts are used to allow client applications, that run outside of
81Kubernetes, access to ONAP components deployed by OOM.
82A NodePort maps an externally reachable port to an internal port of an ONAP
83microservice.
84It should be noted that the use of NodePorts is temporary.
andreasgeissler64847da2020-06-03 16:22:37 +020085An alternative solution based on Ingress Controller, which initial support is
86already in place. It is planned to become a default deployment option in the
87Guilin release.
Eric Debeau0f2c2832018-11-19 19:47:29 +000088
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
andreasgeissler64847da2020-06-03 16:22:37 +020099.. note::
100 \*) POMBA, LOG and SNIRO are not part of the default Frankfurt ONAP
101 deployment.
102
Eric Debeauaa55c502019-04-15 07:00:19 +0000103This table retrieves information from the ONAP deployment using the following
104Kubernetes command:
105
106.. code-block:: bash
107
108 kubectl get svc -n onap -o go-template='{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{.}}{{"\n"}}{{end}}{{end}}{{end}}'