blob: 0acc6353f8ce06003eb987c4a6e20c1347ae09b9 [file] [log] [blame]
ajayd19711c2021-12-07 12:07:04 -08001..
2 SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3 SPDX-License-Identifier: Apache-2.0
4
ajay07514982021-12-07 22:24:32 -08005.. _deployment_4G_guide:
ajayd19711c2021-12-07 12:07:04 -08006
ajay07514982021-12-07 22:24:32 -080074G Deployment Guide
8====================
ajayd19711c2021-12-07 12:07:04 -08009
10Deployment Overview
11-------------------
12SD-Core is released with Helm chart and container images.
13We recommend using **Kubernetes** and **Helm** to deploy SD-Core.
Ajay Lotan Thakurd0573072022-05-04 19:16:52 -070014SD-Core images are hosted on docker hub.
ajayd19711c2021-12-07 12:07:04 -080015
16Hardware resource requirement
17-----------------------------
18
ajayce0380c2021-12-14 21:51:00 -080019.. list-table:: CPU & Memory Requirements for 4G components
20 :widths: 5 5 5
21 :header-rows: 1
ajayd19711c2021-12-07 12:07:04 -080022
ajayce0380c2021-12-14 21:51:00 -080023 * - SD-Core Component
24 - Required CPU
25 - Required Memory in Gi
26 * - MME
27 - 2 CPU Cores
28 - 2Gi
29 * - SPGW
30 - 2 CPU Cores
31 - 5Gi
32 * - PCRF
33 - 2 CPU Cores
34 - 1Gi
35 * - HSS
36 - 2 CPU Cores
37 - 1Gi
38 * - Config4G
39 - 1 CPU Cores
40 - 1Gi
41 * - SimApp
42 - 1 CPU Cores
43 - 1Gi
44 * - Cassandra
45 - 2 CPU Cores
46 - 4Gi
47
ajayd19711c2021-12-07 12:07:04 -080048
ajayd19711c2021-12-07 12:07:04 -080049Deployment Options
50------------------
51
52Development Environments
53""""""""""""""""""""""""
ajayce0380c2021-12-14 21:51:00 -080054Please refer (see :ref:`aiab-guide`) to setup 4G development environment.
ajayd19711c2021-12-07 12:07:04 -080055
56Production Environments - 4G
57""""""""""""""""""""""""""""
58
59To install SD-Core into your Kubernetes cluster, follow instructions
60
61Step1 - Clone SD-Core 4G Helm chart
62'''''''''''''''''''''''''''''''''''
63.. code-block::
64
ajaycbd17062022-03-06 11:12:58 -080065 git clone "https://gerrit.opencord.org/sdcore-helm-charts"
ajayd19711c2021-12-07 12:07:04 -080066 cd sdcore-helm-charts/sdcore-helm-charts/
67 helm dep update #Update Helm dependencies
68
69Step2 - Prepare your Helm values for 4G
70'''''''''''''''''''''''''''''''''''''''
71
72You can modify existing values.yaml directly, but we recommend composing another value
73file myvalues.yaml using values.yaml as an example. We are highlighting a few things we
74need to modify here. More explanation of the supported Helm values can be found in the
75Configuration section below.
76
77Step3 - Install 4G using SD-Core umbrella helm chart
78''''''''''''''''''''''''''''''''''''''''''''''''''''
79
80The following command will deploy the SD-Core helm chart with release name sdcore-4g in the sdcore-4g namespace.
81
82.. code-block::
83
ajaycbd17062022-03-06 11:12:58 -080084 helm install -n sdcore-4g --create-namespace -f myvalues.yaml sdcore-4g ~/cord/sdcore-helm-charts/sdcore-helm-charts
ajayd19711c2021-12-07 12:07:04 -080085
86To verify the installation:
87
88.. code-block::
89
90 helm -n sdcore-4g ls
91
92To uninstall:
93
94.. code-block::
95
96 helm -n sdcore-4g uninstall sdcore-4g
97 kubectl delete namespace sdcore-4g # also remove the sdcore-4g if needed