blob: cacbae68550f22bb67194d81a0db6a16564a4ec9 [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
Ajay Lotan Thakur05ce5ce2022-09-25 20:36:16 -070048.. note::
49 SD-Core deployment is tested on Intel/AMD hardware. There is WIP to run SD-Core
50 on ARM architecture.
ajayd19711c2021-12-07 12:07:04 -080051
ajayd19711c2021-12-07 12:07:04 -080052Deployment Options
53------------------
54
55Development Environments
56""""""""""""""""""""""""
ajayce0380c2021-12-14 21:51:00 -080057Please refer (see :ref:`aiab-guide`) to setup 4G development environment.
ajayd19711c2021-12-07 12:07:04 -080058
59Production Environments - 4G
60""""""""""""""""""""""""""""
61
62To install SD-Core into your Kubernetes cluster, follow instructions
63
64Step1 - Clone SD-Core 4G Helm chart
65'''''''''''''''''''''''''''''''''''
66.. code-block::
67
ajaycbd17062022-03-06 11:12:58 -080068 git clone "https://gerrit.opencord.org/sdcore-helm-charts"
ajayd19711c2021-12-07 12:07:04 -080069 cd sdcore-helm-charts/sdcore-helm-charts/
70 helm dep update #Update Helm dependencies
71
72Step2 - Prepare your Helm values for 4G
73'''''''''''''''''''''''''''''''''''''''
74
75You can modify existing values.yaml directly, but we recommend composing another value
76file myvalues.yaml using values.yaml as an example. We are highlighting a few things we
77need to modify here. More explanation of the supported Helm values can be found in the
78Configuration section below.
79
80Step3 - Install 4G using SD-Core umbrella helm chart
81''''''''''''''''''''''''''''''''''''''''''''''''''''
82
83The following command will deploy the SD-Core helm chart with release name sdcore-4g in the sdcore-4g namespace.
84
85.. code-block::
86
ajaycbd17062022-03-06 11:12:58 -080087 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 -080088
89To verify the installation:
90
91.. code-block::
92
93 helm -n sdcore-4g ls
94
95To uninstall:
96
97.. code-block::
98
99 helm -n sdcore-4g uninstall sdcore-4g
100 kubectl delete namespace sdcore-4g # also remove the sdcore-4g if needed