Eric Debeau | 8494df0 | 2018-05-24 20:35:29 +0000 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 |
| 2 | .. International License. |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 3 | .. http://creativecommons.org/licenses/by/4.0 |
Eric Debeau | 993b77b | 2020-08-19 15:30:00 +0200 | [diff] [blame] | 4 | .. Copyright 2019-2020 Amdocs, Bell Canada, Orange, Samsung |
Jessica Wagantall | afb1ead | 2020-04-09 12:39:10 -0700 | [diff] [blame] | 5 | .. _oom_cloud_setup_guide: |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 6 | |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 7 | .. Links |
Michael O'Brien | 90407b7 | 2019-01-10 10:14:42 -0500 | [diff] [blame] | 8 | .. _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 Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 11 | .. _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'Brien | 90407b7 | 2019-01-10 10:14:42 -0500 | [diff] [blame] | 13 | .. _Setting Up Kubernetes with Rancher: https://wiki.onap.org/display/DW/Cloud+Native+Deployment |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 14 | .. _Setting Up Kubernetes with Kubeadm: https://wiki.onap.org/display/DW/Deploying+Kubernetes+Cluster+with+kubeadm |
Michael O'Brien | 90407b7 | 2019-01-10 10:14:42 -0500 | [diff] [blame] | 15 | .. _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 Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 17 | |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 18 | .. figure:: oomLogoV2-medium.png |
| 19 | :align: right |
| 20 | |
| 21 | .. _cloud-setup-guide-label: |
| 22 | |
| 23 | OOM Cloud Setup Guide |
| 24 | ##################### |
| 25 | |
| 26 | OOM deploys and manages ONAP on a pre-established Kubernetes_ cluster - the |
| 27 | creation of this cluster is outside of the scope of the OOM project as there |
| 28 | are many options including public clouds with pre-established environments. |
| 29 | However, this guide includes instructions for how to create and use some of the |
| 30 | more popular environments which could be used to host ONAP. If creation of a |
| 31 | Kubernetes cluster is required, the life-cycle of this cluster is independent |
| 32 | of the life-cycle of the ONAP components themselves. Much like an OpenStack |
| 33 | environment, the Kubernetes environment may be used for an extended period of |
| 34 | time, possibly spanning multiple ONAP releases. |
| 35 | |
| 36 | .. note:: |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 37 | Inclusion of a cloud technology or provider in this guide does not imply an |
| 38 | endorsement. |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 39 | |
| 40 | .. _Kubernetes: https://kubernetes.io/ |
| 41 | |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 42 | Software Requirements |
| 43 | ===================== |
| 44 | |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 45 | The versions of Kubernetes that are supported by OOM are as follows: |
| 46 | |
| 47 | .. table:: OOM Software Requirements |
| 48 | |
Piotr Marcinkiewicz | 2ca8a47 | 2021-04-29 13:29:02 +0200 | [diff] [blame] | 49 | ============== =========== ======= ======== ======== ============ |
| 50 | Release Kubernetes Helm kubectl Docker Cert-Manager |
| 51 | ============== =========== ======= ======== ======== ============ |
Sylvain Desbureaux | 4f9902b | 2020-11-25 08:34:55 +0100 | [diff] [blame] | 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 |
Sylvain Desbureaux | 557628a | 2021-03-24 14:59:16 +0100 | [diff] [blame] | 59 | Honolulu 1.19.9 3.5.2 1.19.9 19.03.x |
Piotr Marcinkiewicz | 2ca8a47 | 2021-04-29 13:29:02 +0200 | [diff] [blame] | 60 | Istanbul 1.2.0 |
| 61 | ============== =========== ======= ======== ======== ============ |
Sylvain Desbureaux | 4f9902b | 2020-11-25 08:34:55 +0100 | [diff] [blame] | 62 | |
| 63 | .. note:: |
| 64 | Guilin version also supports Kubernetes up to version 1.19.x and should work |
| 65 | with Helm with version up to 3.3.x but has not been thoroughly tested. |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 66 | |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 67 | Minimum Hardware Configuration |
| 68 | ============================== |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 69 | |
Mike Elliott | ed5ff71 | 2018-11-07 15:47:19 -0500 | [diff] [blame] | 70 | The hardware requirements are provided below. Note that this is for a |
| 71 | full ONAP deployment (all components). Customizing ONAP to deploy only |
| 72 | components that are needed will drastically reduce the requirements. |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 73 | |
| 74 | .. table:: OOM Hardware Requirements |
| 75 | |
| 76 | ===== ===== ====== ==================== |
| 77 | RAM HD vCores Ports |
| 78 | ===== ===== ====== ==================== |
Mike Elliott | ed5ff71 | 2018-11-07 15:47:19 -0500 | [diff] [blame] | 79 | 224GB 160GB 112 0.0.0.0/0 (all open) |
Roger Maitland | efce48f | 2018-03-29 09:43:06 -0400 | [diff] [blame] | 80 | ===== ===== ====== ==================== |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 81 | |
Roger Maitland | eb412c6 | 2018-05-31 14:09:09 -0400 | [diff] [blame] | 82 | .. note:: |
Michael O'Brien | 90407b7 | 2019-01-10 10:14:42 -0500 | [diff] [blame] | 83 | Kubernetes supports a maximum of 110 pods per node - configurable in the --max-pods=n setting off the |
| 84 | "additional kubelet flags" box in the kubernetes template window described in 'ONAP Development - 110 pod limit Wiki' |
| 85 | - this limit does not need to be modified . The use of many small |
Mike Elliott | ed5ff71 | 2018-11-07 15:47:19 -0500 | [diff] [blame] | 86 | nodes is preferred over a few larger nodes (for example 14x16GB - 8 vCores each). |
| 87 | Subsets of ONAP may still be deployed on a single node. |
Roger Maitland | eb412c6 | 2018-05-31 14:09:09 -0400 | [diff] [blame] | 88 | |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 89 | Cloud Installation |
| 90 | ================== |
| 91 | |
Roger Maitland | eb412c6 | 2018-05-31 14:09:09 -0400 | [diff] [blame] | 92 | .. #. OOM supports deployment on major public clouds. The following guides |
| 93 | .. provide instructions on how to deploy ONAP on these clouds: |
| 94 | .. |
| 95 | .. - `Microsoft Azure`_, |
| 96 | .. - `Amazon AWS`_, |
| 97 | .. - `Google GCE`_, |
| 98 | .. - `VMware VIO`_, |
| 99 | .. - IBM, and |
| 100 | .. - `Openstack`_. |
| 101 | .. |
Eric Debeau | 993b77b | 2020-08-19 15:30:00 +0200 | [diff] [blame] | 102 | .. #. Alternatively, OOM can be deployed on a private set of physical hosts or |
| 103 | .. VMs (or even a combination of the two). The following guides describe how |
| 104 | .. to create a Kubernetes cluster with popular tools: |
Roger Maitland | eb412c6 | 2018-05-31 14:09:09 -0400 | [diff] [blame] | 105 | .. |
| 106 | .. - `Setting up Kubernetes with Rancher`_ (recommended) |
| 107 | .. - `Setting up Kubernetes with Kubeadm`_ |
| 108 | .. - `Setting up Kubernetes with Cloudify`_ |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 109 | |
Roger Maitland | eb412c6 | 2018-05-31 14:09:09 -0400 | [diff] [blame] | 110 | OOM can be deployed on a private set of physical hosts or VMs (or even a |
| 111 | combination of the two). The following guide describe the recommended method to |
| 112 | setup a Kubernetes cluster: :ref:`onap-on-kubernetes-with-rancher`. |
Roger Maitland | 953b5f1 | 2018-03-22 15:24:04 -0400 | [diff] [blame] | 113 | |
Eric Debeau | 993b77b | 2020-08-19 15:30:00 +0200 | [diff] [blame] | 114 | There are alternative deployment methods described on the |
| 115 | `Cloud Native Deployment Wiki`_ |