blob: 4bdfdb1296c107be30ff5b2f902f3abc4e34aa0e [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.
14SD-Core images are hosted on an ONF member-only Docker registry.
15You need to obtain access token and supply that as part of the Helm value.
16
17Hardware resource requirement
18-----------------------------
19
ajayce0380c2021-12-14 21:51:00 -080020.. list-table:: CPU & Memory Requirements for 4G components
21 :widths: 5 5 5
22 :header-rows: 1
ajayd19711c2021-12-07 12:07:04 -080023
ajayce0380c2021-12-14 21:51:00 -080024 * - SD-Core Component
25 - Required CPU
26 - Required Memory in Gi
27 * - MME
28 - 2 CPU Cores
29 - 2Gi
30 * - SPGW
31 - 2 CPU Cores
32 - 5Gi
33 * - PCRF
34 - 2 CPU Cores
35 - 1Gi
36 * - HSS
37 - 2 CPU Cores
38 - 1Gi
39 * - Config4G
40 - 1 CPU Cores
41 - 1Gi
42 * - SimApp
43 - 1 CPU Cores
44 - 1Gi
45 * - Cassandra
46 - 2 CPU Cores
47 - 4Gi
48
ajayd19711c2021-12-07 12:07:04 -080049
ajayd19711c2021-12-07 12:07:04 -080050Deployment Options
51------------------
52
53Development Environments
54""""""""""""""""""""""""
ajayce0380c2021-12-14 21:51:00 -080055Please refer (see :ref:`aiab-guide`) to setup 4G development environment.
ajayd19711c2021-12-07 12:07:04 -080056
57Production Environments - 4G
58""""""""""""""""""""""""""""
59
60To install SD-Core into your Kubernetes cluster, follow instructions
61
62Step1 - Clone SD-Core 4G Helm chart
63'''''''''''''''''''''''''''''''''''
64.. code-block::
65
ajaycbd17062022-03-06 11:12:58 -080066 git clone "https://gerrit.opencord.org/sdcore-helm-charts"
ajayd19711c2021-12-07 12:07:04 -080067 cd sdcore-helm-charts/sdcore-helm-charts/
68 helm dep update #Update Helm dependencies
69
70Step2 - Prepare your Helm values for 4G
71'''''''''''''''''''''''''''''''''''''''
72
73You can modify existing values.yaml directly, but we recommend composing another value
74file myvalues.yaml using values.yaml as an example. We are highlighting a few things we
75need to modify here. More explanation of the supported Helm values can be found in the
76Configuration section below.
77
78Step3 - Install 4G using SD-Core umbrella helm chart
79''''''''''''''''''''''''''''''''''''''''''''''''''''
80
81The following command will deploy the SD-Core helm chart with release name sdcore-4g in the sdcore-4g namespace.
82
83.. code-block::
84
ajaycbd17062022-03-06 11:12:58 -080085 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 -080086
87To verify the installation:
88
89.. code-block::
90
91 helm -n sdcore-4g ls
92
93To uninstall:
94
95.. code-block::
96
97 helm -n sdcore-4g uninstall sdcore-4g
98 kubectl delete namespace sdcore-4g # also remove the sdcore-4g if needed