Skip to content

Commit 213744e

Browse files
committed
TELCODOCS-2292 - RAN RDS - sysclts
1 parent 9e46d28 commit 213744e

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

modules/telco-ran-sysctls.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * scalability_and_performance/telco-ran-du-rds.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
[id="telco-ran-sysctls_{context}"]
7+
= Kubelet Settings
8+
9+
Some CNF workloads make use of sysctls which are not in the list of system-wide safe sysctls.
10+
Generally, network sysctls are namespaced and you can enable them using the `kubeletconfig.experimental` annotation in the `PerformanceProfile` Custom Resource (CR) as a string of JSON in the following form:
11+
12+
.Example snippet showing allowedUnsafeSysctls
13+
[source,yaml]
14+
----
15+
apiVersion: performance.openshift.io/v2
16+
kind: PerformanceProfile
17+
metadata:
18+
name: {{ .metadata.name }}
19+
annotations:kubeletconfig.experimental: |
20+
{"allowedUnsafeSysctls":["net.ipv6.conf.all.accept_ra"]}
21+
# ...
22+
----
23+
24+
[NOTE]
25+
====
26+
Note that although these are namespaced they may allow a pod to consume memory or other resources beyond any limits specified in the pod description.
27+
You must ensure that these sysctls do not exhaust platform resources.
28+
====

scalability_and_performance/telco-ran-du-rds.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ include::modules/telco-ran-bios-tuning.adoc[leveloffset=+2]
3939
4040
* xref:../scalability_and_performance/cnf-provisioning-low-latency-workloads.adoc#cnf-provisioning-low-latency-workloads[Provisioning real-time and low latency workloads]
4141
42+
include::modules/telco-ran-sysctls.adoc[leveloffset=+2]
43+
4244
include::modules/telco-ran-node-tuning-operator.adoc[leveloffset=+2]
4345

4446
[role="_additional-resources"]

0 commit comments

Comments
 (0)