Skip to content

Commit e65bcaa

Browse files
committed
updates for OCPBUGS-3620
1 parent e1142e5 commit e65bcaa

File tree

4 files changed

+111
-1
lines changed

4 files changed

+111
-1
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * scalability_and_performance/ztp_far_edge/ztp-vdu-validating-cluster-tuning.adoc
4+
5+
:_module-type: REFERENCE
6+
[id="ztp-recommended-cluster-kernel-config_{context}"]
7+
= Recommended cluster kernel configuration
8+
9+
Always use the latest supported real-time kernel version in your cluster. Ensure that you apply the following configurations in the cluster:
10+
11+
. Ensure that the following `additionalKernelArgs` are set in the cluster performance profile:
12+
+
13+
[source,yaml]
14+
----
15+
spec:
16+
additionalKernelArgs:
17+
- "rcupdate.rcu_normal_after_boot=0"
18+
- "efi=runtime"
19+
----
20+
21+
. Ensure that the `performance-patch` profile in the `Tuned` CR configures the correct CPU isolation set that matches the `isolated` CPU set in the related `PerformanceProfile` CR, for example:
22+
+
23+
[source,yaml]
24+
----
25+
spec:
26+
profile:
27+
- name: performance-patch
28+
# The 'include' line must match the associated PerformanceProfile name
29+
# And the cmdline_crash CPU set must match the 'isolated' set in the associated PerformanceProfile
30+
data: |
31+
[main]
32+
summary=Configuration changes profile inherited from performance created tuned
33+
include=openshift-node-performance-openshift-node-performance-profile
34+
[bootloader]
35+
cmdline_crash=nohz_full=2-51,54-103 <1>
36+
[sysctl]
37+
kernel.timer_migration=1
38+
[scheduler]
39+
group.ice-ptp=0:f:10:*:ice-ptp.*
40+
[service]
41+
service.stalld=start,enable
42+
service.chronyd=stop,disable
43+
----
44+
<1> Listed CPUs depend on the host hardware configuration, specifically the number of available CPUs in the system and the CPU topology.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * scalability_and_performance/ztp_far_edge/ztp-vdu-validating-cluster-tuning.adoc
4+
5+
:_module-type: REFERENCE
6+
[id="ztp-recommended-cluster-mc-crs_{context}"]
7+
= Recommended cluster MachineConfig CRs
8+
9+
Check that the `MachineConfig` custom resources (CRs) that you extract from the `ztp-site-generate` container are applied in the cluster. The CRs can be found in the extracted `out/source-crs/extra-manifest/` folder.
10+
11+
The following `MachineConfig` CRs from the `ztp-site-generate` container configure the cluster host:
12+
13+
.Recommended MachineConfig CRs
14+
[cols=2*, options="header"]
15+
|====
16+
|CR filename
17+
|Description
18+
19+
|`02-workload-partitioning.yaml`
20+
|Configures workload partitioning for the cluster. Apply this `MachineConfig` CR when you install the cluster.
21+
22+
|`03-sctp-machine-config-master.yaml`, `03-sctp-machine-config-worker.yaml`
23+
|Loads the SCTP kernel module. These `MachineConfig` CRs are optional and can be omitted if you do not require this kernel module.
24+
25+
|`01-container-mount-ns-and-kubelet-conf-master.yaml`, `01-container-mount-ns-and-kubelet-conf-worker.yaml`
26+
|Configures the container mount namespace and Kubelet configuration.
27+
28+
|`04-accelerated-container-startup-master.yaml`, `04-accelerated-container-startup-worker.yaml`
29+
|Configures accelerated startup for the cluster.
30+
31+
|`06-kdump-master.yaml`, `06-kdump-worker.yaml`
32+
|Configures `kdump` for the cluster.
33+
|====
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * scalability_and_performance/ztp_far_edge/ztp-vdu-validating-cluster-tuning.adoc
4+
5+
:_module-type: REFERENCE
6+
[id="ztp-recommended-cluster-operators_{context}"]
7+
= Recommended cluster Operators
8+
9+
The following Operators are required for clusters running virtualized distributed unit (vDU) applications and are a part of the baseline reference configuration:
10+
11+
* Node Tuning Operator (NTO). NTO packages functionality that was previously delivered with the Performance Addon Operator, which is now a part of NTO.
12+
13+
* PTP Operator
14+
15+
* SR-IOV Network Operator
16+
17+
* Red Hat OpenShift Logging Operator
18+
19+
* Local Storage Operator

scalability_and_performance/ztp_far_edge/ztp-vdu-validating-cluster-tuning.adoc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,21 @@ Before you can deploy virtual distributed unit (vDU) applications, you need to t
1515
1616
include::modules/ztp-du-firmware-config-reference.adoc[leveloffset=+1]
1717

18-
include::modules/ztp-du-cluster-config-reference.adoc[leveloffset=+1]
18+
[id="ztp-du-cluster-config-reference_{context}"]
19+
== Recommended cluster configurations to run vDU applications
20+
21+
Clusters running virtualized distributed unit (vDU) applications require a highly tuned and optimized configuration. The following information describes the various elements that you require to support vDU workloads in {product-title} {product-version} clusters.
22+
23+
include::modules/ztp-recommended-cluster-mc-crs.adoc[leveloffset=+2]
24+
25+
[role="_additional-resources"]
26+
.Additional resources
27+
28+
* xref:../../scalability_and_performance/ztp_far_edge/ztp-preparing-the-hub-cluster.adoc#ztp-preparing-the-ztp-git-repository_ztp-preparing-the-hub-cluster[Extracting source CRs from the ztp-site-generate container]
29+
30+
include::modules/ztp-recommended-cluster-operators.adoc[leveloffset=+2]
31+
32+
include::modules/ztp-recommended-cluster-kernel-config.adoc[leveloffset=+2]
1933

2034
include::modules/ztp-checking-kernel-rt-in-cluster.adoc[leveloffset=+2]
2135

0 commit comments

Comments
 (0)