@@ -21,7 +21,7 @@ server is to play. We'll introduce additional host groups in later
21
21
sections, but for starters, there are two aspects of our deployment
22
22
that scale independently. One is Aether proper: a Kubernetes cluster
23
23
running the set of microservices that implement SD-Core and AMP (and
24
- optionally, other edge apps); this corresponds to a combination of the
24
+ optionally, other edge apps). This corresponds to a combination of the
25
25
``master_nodes `` and ``worker_nodes `` groups. The second is gNBsim:
26
26
the emulated RAN that generates traffic directed at the Aether
27
27
cluster, corresponding to the ``gnbsim_nodes `` host group.
@@ -91,26 +91,27 @@ connect that node to one or more physical gNBs.
91
91
Allocating CPU Cores
92
92
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93
93
94
- Kubernetes provides a mechanism for allocating CPU cores to specific
95
- pods. OnRamp manages this capability in two steps.
94
+ Kubernetes supports allocating CPU cores to specific pods. OnRamp
95
+ manages this capability in two steps.
96
96
97
97
First, directory ``deps/k8s/roles/rke2/templates `` contains two files
98
98
used to configure a Kubernetes deployment. These files are referenced
99
99
in ``vars/main.yml `` as variables
100
100
``k8s.rke2.config.params_file.master `` and
101
- ``k8s.rke2.config.params_file.worker ``; edit these variables should
102
- you elect to substitute different files. Uncomment the block
103
- labeled *"Param's for Exclusive CPU" * in both files to enable the
104
- allocation feature. You need to reinstall Kubernetes for these changes
105
- to take effect.
101
+ ``k8s.rke2.config.params_file.worker ``. Either edit these variables to
102
+ substitute different files that you have defined to your
103
+ specification, or uncomment the block labeled *"Param's for Exclusive
104
+ CPU" * in the two default files. Doing the latter enables the
105
+ allocation feature; you also need to reinstall Kubernetes for these
106
+ changes to take effect.
106
107
107
108
Second, edit the values override file for whatever service is to be
108
109
granted an exclusive CPU core. A typical example is to allocate a core
109
110
to the UPF, which can be done by editing the ``omec-user-plane ``
110
111
section of ``deps/5gc/roles/core/templates/sdcore-5g-values.yaml ``,
111
- changing variable ``resources.enabled `` from ``false `` to
112
- `` true ``. Similar variables exist for other SD-Core pods. You need to
113
- reinstall the 5G Core for this change to take effect.
112
+ changing variable ``resources.enabled `` to ``true ``. Similar variables
113
+ exist for other SD-Core pods. You need to reinstall the 5G Core for
114
+ this change to take effect.
114
115
115
116
116
117
Other Options
0 commit comments