Skip to content

Commit 44c4f8d

Browse files
authored
Merge pull request #36674 from kmccarron-rh/sro-doc
OSDOCS-2396: Add hardware_enablement category and SRO documentation
2 parents f218614 + ad21a44 commit 44c4f8d

19 files changed

+702
-24
lines changed

_topic_map.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,12 +2017,6 @@ Topics:
20172017
- Name: Scaling the Cluster Monitoring Operator
20182018
File: scaling-cluster-monitoring-operator
20192019
Distros: openshift-origin,openshift-enterprise
2020-
- Name: The Node Feature Discovery Operator
2021-
File: psap-node-feature-discovery-operator
2022-
Distros: openshift-origin,openshift-enterprise
2023-
- Name: The Driver Toolkit
2024-
File: psap-driver-toolkit
2025-
Distros: openshift-origin,openshift-enterprise
20262020
- Name: Planning your environment according to object maximums
20272021
File: planning-your-environment-according-to-object-maximums
20282022
Distros: openshift-origin,openshift-enterprise
@@ -2053,6 +2047,19 @@ Topics:
20532047
File: ztp-deploying-disconnected
20542048
Distros: openshift-origin,openshift-enterprise
20552049
---
2050+
Name: Hardware enablement
2051+
Dir: hardware_enablement
2052+
Distros: openshift-origin,openshift-enterprise
2053+
Topics:
2054+
- Name: About hardware enablement
2055+
File: about-hardware-enablement
2056+
- Name: Driver Toolkit
2057+
File: psap-driver-toolkit
2058+
- Name: Special Resource Operator
2059+
File: psap-special-resource-operator
2060+
- Name: Node Feature Discovery Operator
2061+
File: psap-node-feature-discovery-operator
2062+
---
20562063
Name: Backup and restore
20572064
Dir: backup_and_restore
20582065
Distros: openshift-origin,openshift-enterprise
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[id="about-hardware-enablement"]
2+
= About hardware enablement
3+
include::modules/common-attributes.adoc[]
4+
:context: about-hardware-enablement
5+
6+
toc::[]
7+
8+
Many applications require specialized hardware or software that depends on kernel modules or drivers. You can use driver containers to load out-of-tree kernel modules on {op-system-first} nodes. To deploy out-of-tree drivers during cluster installation, use the `kmods-via-containers` framework. To load drivers or kernel modules on an existing {product-title} cluster, {product-title} offers several tools:
9+
10+
* The Driver Toolkit is a container image that is a part of every {product-title} release. It contains the kernel packages and other common dependencies that are needed to build a driver or kernel module. The Driver Toolkit can be used as a base image for driver container image builds on {product-title}.
11+
* The Special Resource Operator (SRO) orchestrates the building and management of driver containers to load kernel modules and drivers on an existing OpenShift or Kubernetes cluster.
12+
* The Node Feature Discovery (NFD) Operator adds node labels for CPU capabilities, kernel version, PCIe device vendor IDs, and more.

hardware_enablement/images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../images

hardware_enablement/modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules

scalability_and_performance/psap-driver-toolkit.adoc renamed to hardware_enablement/psap-driver-toolkit.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="driver-toolkit"]
2-
= The Driver Toolkit
2+
= Driver Toolkit
33
include::modules/common-attributes.adoc[]
44
:context: driver-toolkit
55

@@ -15,3 +15,8 @@ include::modules/psap-driver-toolkit.adoc[leveloffset=+1]
1515
include::modules/psap-driver-toolkit-pulling.adoc[leveloffset=+1]
1616

1717
include::modules/psap-driver-toolkit-using.adoc[leveloffset=+1]
18+
19+
[id="additional-resources_driver-toolkkit-id"]
20+
== Additional resources
21+
22+
* For more information about configuring registry storage for your cluster, see xref:../registry/configuring-registry-operator.adoc#registry-removed_configuring-registry-operator[Image Registry Operator in OpenShift Container Platform].

scalability_and_performance/psap-node-feature-discovery-operator.adoc renamed to hardware_enablement/psap-node-feature-discovery-operator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="node-feature-discovery-operator"]
2-
= The Node Feature Discovery Operator
2+
= Node Feature Discovery Operator
33
include::modules/common-attributes.adoc[]
44
:context: node-feature-discovery-operator
55

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[id="special-resource-operator"]
2+
= Special Resource Operator
3+
include::modules/common-attributes.adoc[]
4+
:context: special-resource-operator
5+
6+
toc::[]
7+
8+
Learn about the Special Resource Operator (SRO) and how you can use it to build and manage driver containers for loading kernel modules and device drivers on nodes in an {product-title} cluster.
9+
10+
11+
:FeatureName: The Special Resource Operator
12+
include::modules/technology-preview.adoc[leveloffset=+0]
13+
14+
include::modules/psap-special-resource-operator.adoc[leveloffset=+1]
15+
16+
[id="installing-special-resource-operator"]
17+
== Installing the Special Resource Operator
18+
19+
As a cluster administrator, you can install the Special Resource Operator (SRO) by using the OpenShift CLI or the web console.
20+
21+
include::modules/psap-special-resource-operator-installing-using-cli.adoc[leveloffset=+2]
22+
23+
include::modules/psap-special-resource-operator-installing-using-web-console.adoc[leveloffset=+2]
24+
25+
include::modules/psap-special-resource-operator-using.adoc[leveloffset=+1]
26+
27+
include::modules/psap-special-resource-operator-using-manifests.adoc[leveloffset=+2]
28+
29+
include::modules/psap-special-resource-operator-using-configmaps.adoc[leveloffset=+2]
30+
31+
[id="additional-resources_special-resource-operator"]
32+
== Additional resources
33+
34+
* For information about restoring the Image Registry Operator state before using the Special Resource Operator, see
35+
xref:../registry/configuring-registry-operator.adoc#registry-removed_configuring-registry-operator[Image registry removed during installation].
36+
* For details about installing the NFD Operator see xref:psap-node-feature-discovery-operator.adoc#installing-the-node-feature-discovery-operator_node-feature-discovery-operator[Node Feature Discovery (NFD) Operator].

modules/psap-driver-toolkit-pulling.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * scalability_and_performance/psap-driver-toolkit.adoc
3+
// * hardware_enablement/psap-driver-toolkit.adoc
44

5-
[id="pulling-the-driver-toolkit"]
5+
[id="pulling-the-driver-toolkit_{context}"]
66
= Pulling the Driver Toolkit container image
77

88
The `driver-toolkit` image is available from the link:https://registry.redhat.io/[Container images section of the Red Hat Ecosystem Catalog] and in the {product-title} release payload. The image corresponding to the most recent minor release of {product-title} will be tagged with the version number in the catalog. The image URL for a specific release can be found using the `oc adm` CLI command.
@@ -18,8 +18,8 @@ The driver-toolkit image for the latest minor release will be tagged with the mi
1818

1919
.Prerequisites
2020

21-
* Obtain the image pull secret needed to perform an installation of {product-title}, from the link:https://console.redhat.com/openshift/install/pull-secret[Pull Secret] page on the {cloud-redhat-com} site.
22-
* Install the OpenShift CLI (`oc`).
21+
* You obtained the image pull secret needed to perform an installation of {product-title}, from the link:https://cloud.redhat.com/openshift/install/pull-secret[Pull Secret] page on the {cloud-redhat-com} site.
22+
* You installed the OpenShift CLI (`oc`).
2323

2424
.Procedure
2525

modules/psap-driver-toolkit-using.adoc

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
// Module included in the following assemblies:
22
//
3-
// * scalability_and_performance/psap-driver-toolkit.adoc
3+
// * hardware_enablement/psap-driver-toolkit.adoc
44

5-
[id="using-the-driver-toolkit"]
5+
[id="using-the-driver-toolkit_{context}"]
66
= Using the Driver Toolkit
77

88
As an example, the Driver Toolkit can be used as the base image for building a very simple kernel module called simple-kmod.
99

10-
[id="create-simple-kmod-image"]
10+
[NOTE]
11+
====
12+
The Driver Toolkit contains the necessary dependencies, `openssl`, `mokutil`, and `keyutils`, needed to sign a kernel module. However, in this example, the simple-kmod kernel module is not signed and therefore cannot be loaded on systems with `Secure Boot` enabled.
13+
====
14+
15+
[id="create-simple-kmod-image_{context}"]
1116
== Build and run the simple-kmod driver container on a cluster
1217

1318
.Prerequisites
1419

15-
* An {product-title} cluster
16-
* Install the OpenShift CLI (`oc`).
17-
* Log in as a user with `cluster-admin` privileges.
20+
* You have a running {product-title} cluster.
21+
* You set the Image Registry Operator state to `Managed` for your cluster.
22+
* You installed the OpenShift CLI (`oc`).
23+
* You are logged into the OpenShift CLI as a user with `cluster-admin` privileges.
1824

1925
.Procedure
2026

modules/psap-driver-toolkit.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * scalability_and_performance/psap-driver-toolkit.adoc
3+
// * hardware_enablement/psap-driver-toolkit.adoc
44

5-
[id="about-driver-toolkit"]
5+
[id="about-driver-toolkit_{context}"]
66
= About the Driver Toolkit
77

88
[discrete]

0 commit comments

Comments
 (0)