blob: e54992e852c0d98f563a8e2d1f939f110aef8cd8 [file] [log] [blame]
Eric Debeau8494df02018-05-24 20:35:29 +00001.. This work is licensed under a Creative Commons Attribution 4.0
2.. International License.
Roger Maitland953b5f12018-03-22 15:24:04 -04003.. http://creativecommons.org/licenses/by/4.0
Eric Debeau993b77b2020-08-19 15:30:00 +02004.. Copyright 2019-2020 Amdocs, Bell Canada, Orange, Samsung
Jessica Wagantallafb1ead2020-04-09 12:39:10 -07005.. _oom_cloud_setup_guide:
Roger Maitland953b5f12018-03-22 15:24:04 -04006
Roger Maitlandefce48f2018-03-29 09:43:06 -04007.. Links
Michael O'Brien90407b72019-01-10 10:14:42 -05008.. _Microsoft Azure: https://wiki.onap.org/display/DW/Cloud+Native+Deployment#CloudNativeDeployment-MicrosoftAzure
9.. _Amazon AWS: https://wiki.onap.org/display/DW/Cloud+Native+Deployment#CloudNativeDeployment-AmazonAWS
10.. _Google GCE: https://wiki.onap.org/display/DW/Cloud+Native+Deployment#CloudNativeDeployment-GoogleGCE
Roger Maitlandefce48f2018-03-29 09:43:06 -040011.. _VMware VIO: https://wiki.onap.org/display/DW/ONAP+on+VMware+Integrated+OpenStack+-+Container+Orchestration
12.. _OpenStack: https://wiki.onap.org/display/DW/ONAP+on+Kubernetes+on+OpenStack?src=contextnavpagetreemode
Michael O'Brien90407b72019-01-10 10:14:42 -050013.. _Setting Up Kubernetes with Rancher: https://wiki.onap.org/display/DW/Cloud+Native+Deployment
Roger Maitlandefce48f2018-03-29 09:43:06 -040014.. _Setting Up Kubernetes with Kubeadm: https://wiki.onap.org/display/DW/Deploying+Kubernetes+Cluster+with+kubeadm
Michael O'Brien90407b72019-01-10 10:14:42 -050015.. _Cloud Native Deployment Wiki: https://wiki.onap.org/display/DW/Cloud+Native+Deployment
16.. _ONAP Development - 110 pod limit Wiki: https://wiki.onap.org/display/DW/ONAP+Development#ONAPDevelopment-Changemax-podsfromdefault110podlimit
Roger Maitlandefce48f2018-03-29 09:43:06 -040017
Roger Maitland953b5f12018-03-22 15:24:04 -040018.. figure:: oomLogoV2-medium.png
19 :align: right
20
21.. _cloud-setup-guide-label:
22
23OOM Cloud Setup Guide
24#####################
25
26OOM deploys and manages ONAP on a pre-established Kubernetes_ cluster - the
27creation of this cluster is outside of the scope of the OOM project as there
28are many options including public clouds with pre-established environments.
29However, this guide includes instructions for how to create and use some of the
30more popular environments which could be used to host ONAP. If creation of a
31Kubernetes cluster is required, the life-cycle of this cluster is independent
32of the life-cycle of the ONAP components themselves. Much like an OpenStack
33environment, the Kubernetes environment may be used for an extended period of
34time, possibly spanning multiple ONAP releases.
35
36.. note::
Roger Maitlandefce48f2018-03-29 09:43:06 -040037 Inclusion of a cloud technology or provider in this guide does not imply an
38 endorsement.
Roger Maitland953b5f12018-03-22 15:24:04 -040039
40.. _Kubernetes: https://kubernetes.io/
41
Roger Maitlandefce48f2018-03-29 09:43:06 -040042Software Requirements
43=====================
44
Roger Maitland953b5f12018-03-22 15:24:04 -040045The versions of Kubernetes that are supported by OOM are as follows:
46
47.. table:: OOM Software Requirements
48
Sylvain Desbureaux4f9902b2020-11-25 08:34:55 +010049 ============== =========== ======= ======== ========
50 Release Kubernetes Helm kubectl Docker
51 ============== =========== ======= ======== ========
52 amsterdam 1.7.x 2.3.x 1.7.x 1.12.x
53 beijing 1.8.10 2.8.2 1.8.10 17.03.x
54 casablanca 1.11.5 2.9.1 1.11.5 17.03.x
55 dublin 1.13.5 2.12.3 1.13.5 18.09.5
56 el alto 1.15.2 2.14.2 1.15.2 18.09.x
57 frankfurt 1.15.9 2.16.6 1.15.11 18.09.x
58 guilin 1.15.11 2.16.10 1.15.11 18.09.x
59 ============== =========== ======= ======== ========
60
61.. note::
62 Guilin version also supports Kubernetes up to version 1.19.x and should work
63 with Helm with version up to 3.3.x but has not been thoroughly tested.
Roger Maitland953b5f12018-03-22 15:24:04 -040064
Roger Maitlandefce48f2018-03-29 09:43:06 -040065Minimum Hardware Configuration
66==============================
Roger Maitland953b5f12018-03-22 15:24:04 -040067
Mike Elliotted5ff712018-11-07 15:47:19 -050068The hardware requirements are provided below. Note that this is for a
69full ONAP deployment (all components). Customizing ONAP to deploy only
70components that are needed will drastically reduce the requirements.
Roger Maitlandefce48f2018-03-29 09:43:06 -040071
72.. table:: OOM Hardware Requirements
73
74 ===== ===== ====== ====================
75 RAM HD vCores Ports
76 ===== ===== ====== ====================
Mike Elliotted5ff712018-11-07 15:47:19 -050077 224GB 160GB 112 0.0.0.0/0 (all open)
Roger Maitlandefce48f2018-03-29 09:43:06 -040078 ===== ===== ====== ====================
Roger Maitland953b5f12018-03-22 15:24:04 -040079
Roger Maitlandeb412c62018-05-31 14:09:09 -040080.. note::
Michael O'Brien90407b72019-01-10 10:14:42 -050081 Kubernetes supports a maximum of 110 pods per node - configurable in the --max-pods=n setting off the
82 "additional kubelet flags" box in the kubernetes template window described in 'ONAP Development - 110 pod limit Wiki'
83 - this limit does not need to be modified . The use of many small
Mike Elliotted5ff712018-11-07 15:47:19 -050084 nodes is preferred over a few larger nodes (for example 14x16GB - 8 vCores each).
85 Subsets of ONAP may still be deployed on a single node.
Roger Maitlandeb412c62018-05-31 14:09:09 -040086
Roger Maitland953b5f12018-03-22 15:24:04 -040087Cloud Installation
88==================
89
Roger Maitlandeb412c62018-05-31 14:09:09 -040090.. #. OOM supports deployment on major public clouds. The following guides
91.. provide instructions on how to deploy ONAP on these clouds:
92..
93.. - `Microsoft Azure`_,
94.. - `Amazon AWS`_,
95.. - `Google GCE`_,
96.. - `VMware VIO`_,
97.. - IBM, and
98.. - `Openstack`_.
99..
Eric Debeau993b77b2020-08-19 15:30:00 +0200100.. #. Alternatively, OOM can be deployed on a private set of physical hosts or
101.. VMs (or even a combination of the two). The following guides describe how
102.. to create a Kubernetes cluster with popular tools:
Roger Maitlandeb412c62018-05-31 14:09:09 -0400103..
104.. - `Setting up Kubernetes with Rancher`_ (recommended)
105.. - `Setting up Kubernetes with Kubeadm`_
106.. - `Setting up Kubernetes with Cloudify`_
Roger Maitland953b5f12018-03-22 15:24:04 -0400107
Roger Maitlandeb412c62018-05-31 14:09:09 -0400108OOM can be deployed on a private set of physical hosts or VMs (or even a
109combination of the two). The following guide describe the recommended method to
110setup a Kubernetes cluster: :ref:`onap-on-kubernetes-with-rancher`.
Roger Maitland953b5f12018-03-22 15:24:04 -0400111
Eric Debeau993b77b2020-08-19 15:30:00 +0200112There are alternative deployment methods described on the
113`Cloud Native Deployment Wiki`_