You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The secrets are referenced from the `SiteConfig` custom resource (CR) by name. The namespace
55
-
must match the `SiteConfig` namespace.
54
+
The secrets are referenced from the `SiteConfig` custom resource (CR) by name. The namespace must match the `SiteConfig` namespace.
56
55
====
57
56
58
57
. Create a `SiteConfig` CR for your cluster in your local clone of the Git repository:
@@ -66,7 +65,16 @@ The folder includes example files for single node, three-node, and standard clus
66
65
67
66
.. Change the cluster and host details in the example file to match the type of cluster you want. For example:
68
67
+
69
-
include::snippets/ztp-example-siteconfig.adoc[]
68
+
.Example {sno} SiteConfig CR
69
+
[source,yaml]
70
+
----
71
+
include::snippets/ztp_example-sno.yaml[]
72
+
----
73
+
+
74
+
[NOTE]
75
+
====
76
+
For more information about BMC addressing, see the "Additional resources" section.
77
+
====
70
78
71
79
.. You can inspect the default set of extra-manifest `MachineConfig` CRs in `out/argocd/extra-manifest`. It is automatically applied to the cluster when it is installed.
For optimal cluster performance, enable crun for master and worker nodes in {sno}, {sno} with additional worker nodes, {3no}, and standard clusters.
79
87
80
-
Enable crun in a `ContainerRuntimeConfig` CR as an additional day-0 install-time manifest to avoid the cluster having to reboot.
88
+
Enable crun in a `ContainerRuntimeConfig` CR as an additional Day 0 install-time manifest to avoid the cluster having to reboot.
81
89
82
90
The `enable-crun-master.yaml` and `enable-crun-worker.yaml` CR files are in the `out/source-crs/optional-extra-manifest/` folder that you can extract from the `ztp-site-generate` container.
83
91
For more information, see "Customizing extra installation manifests in the {ztp} pipeline".
Copy file name to clipboardExpand all lines: modules/ztp-enabling-workload-partitioning-sno.adoc
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,27 @@
8
8
9
9
Workload partitioning configures {product-title} services, cluster management workloads, and infrastructure pods to run on a reserved number of host CPUs.
10
10
11
-
To configure workload partitioning with {ztp-first}, you specify cluster management CPU resources with the `cpuset` field of the `SiteConfig` custom resource (CR) and the `reserved` field of the group `PolicyGenTemplate` CR.
12
-
The {ztp} pipeline uses these values to populate the required fields in the workload partitioning `MachineConfig` CR (`cpuset`) and the `PerformanceProfile` CR (`reserved`) that configure the {sno} cluster.
11
+
To configure workload partitioning with {ztp-first}, you configure a `cpuPartitioningMode` field in the `SiteConfig` custom resource (CR) that you use to install the cluster and you apply a `PerformanceProfile` CR that configures the `isolated` and `reserved` CPUs on the host.
12
+
13
+
Configuring the `SiteConfig` CR enables workload partitioning at cluster installation time and applying the `PerformanceProfile` CR configures the specific allocation of CPUs to reserved and isolated sets.
14
+
Both of these steps happen at different points during cluster provisioning.
13
15
14
16
[NOTE]
15
17
====
16
-
For maximum performance, ensure that the `reserved` and `isolated` CPU sets do not share CPU cores across NUMA zones.
18
+
Configuring workload partitioning by using the `cpuPartitioningMode` field in the `SiteConfig` CR is a Tech Preview feature in {product-title} 4.13.
19
+
20
+
Alternatively, you can specify cluster management CPU resources with the `cpuset` field of the `SiteConfig` custom resource (CR) and the `reserved` field of the group `PolicyGenTemplate` CR.
21
+
The {ztp} pipeline uses these values to populate the required fields in the workload partitioning `MachineConfig` CR (`cpuset`) and the `PerformanceProfile` CR (`reserved`) that configure the {sno} cluster.
22
+
This method is a General Availability feature in {product-title} 4.14.
17
23
====
18
24
19
-
* The workload partitioning `MachineConfig` CR pins the {product-title} infrastructure pods to a defined `cpuset` configuration.
20
-
* The `PerformanceProfile` CR pins the systemd services to the reserved CPUs.
25
+
The workload partitioning configuration pins the {product-title} infrastructure pods to the `reserved` CPU set.
26
+
Platform services such as systemd, CRI-O, and kubelet run on the `reserved` CPU set.
27
+
The `isolated` CPU sets are exclusively allocated to your container workloads.
28
+
Isolating CPUs ensures that the workload has guaranteed access to the specified CPUs without contention from other applications running on the same node.
29
+
All CPUs that are not isolated should be reserved.
21
30
22
31
[IMPORTANT]
23
32
====
24
-
The value for the `reserved` field specified in the `PerformanceProfile` CR must match the `cpuset` field in the workload partitioning `MachineConfig` CR.
33
+
Ensure that `reserved` and `isolated` CPU sets do not overlap with each other.
Copy file name to clipboardExpand all lines: modules/ztp-generating-install-and-config-crs-manually.adoc
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,13 +60,16 @@ $ mkdir -p ./site-install
60
60
61
61
. Modify the example `SiteConfig` CR for the cluster type that you want to install. Copy `example-sno.yaml` to `site-1-sno.yaml` and modify the CR to match the details of the site and bare-metal host that you want to install, for example:
62
62
+
63
-
include::snippets/ztp-example-siteconfig.adoc[]
63
+
[source,yaml]
64
+
----
65
+
include::snippets/ztp_example-sno.yaml[]
66
+
----
64
67
65
-
. Generate the day-0 installation CRs by processing the modified `SiteConfig` CR `site-1-sno.yaml` by running the following command:
68
+
. Generate the Day 0 installation CRs by processing the modified `SiteConfig` CR `site-1-sno.yaml` by running the following command:
. Optional: Generate just the day-0 `MachineConfig` installation CRs for a particular cluster type by processing the reference `SiteConfig` CR with the `-E` option. For example, run the following commands:
94
+
. Optional: Generate just the Day 0 `MachineConfig` installation CRs for a particular cluster type by processing the reference `SiteConfig` CR with the `-E` option. For example, run the following commands:
92
95
93
96
.. Create an output folder for the `MachineConfig` CRs:
The command generates example group and site-specific `PolicyGenTemplate` CRs for {sno}, three-node clusters, and standard clusters in the `./ref` folder.
Copy file name to clipboardExpand all lines: modules/ztp-installation-crs.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ The following table lists the installation CRs that are automatically applied by
22
22
23
23
|`BareMetalHost`
24
24
|Contains the connection information for the Baseboard Management Controller (BMC) of the target bare-metal host.
25
-
|Provides access to the BMC to load and start the discovery image on the target server. {ztp-first} supports iPXE and virtual media booting by using Redfish or IPMI protocols. To use iPXE booting, you must use {rh-rhacm} 2.8 or later.
25
+
|Provides access to the BMC to load and start the discovery image on the target serverby using the Redfish protocol.
26
26
27
27
|`InfraEnv`
28
28
|Contains information for installing {product-title} on the target bare-metal host.
0 commit comments