Skip to content

Commit 6715d11

Browse files
authored
Merge pull request #30835 from jboxman/fix-optional-style
Use Optional: instead
2 parents 227528f + f37791b commit 6715d11

8 files changed

+18
-18
lines changed

modules/cnf-provisioning-real-time-and-low-latency-workloads.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Establishing the right performance expectations refers to the fact that the real
3434
== Provisioning a worker with real-time capabilities
3535

3636
. Install Performance Addon Operator to the cluster.
37-
. (Optional) Add a node to the {product-title} cluster.
37+
. Optional: Add a node to the {product-title} cluster.
3838
See link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/8/html-single/tuning_guide/index#Setting_BIOS_parameters[Setting BIOS parameters].
39-
. (Optional) Create a new machine config pool for real-time nodes.
39+
. Optional: Create a new machine config pool for real-time nodes.
4040
. Add the node to the proper machine config pool, using node role labels.
4141
+
4242
You must decide which nodes will be configured with real-time workloads. It could be all of the nodes in the cluster or a subset of the nodes. The Performance Addon Operator expects all of the nodes are part of a dedicated machine config pool. If you use all of the nodes, you just point the Performance Addon Operator to the worker node role label. If you use a subset, you must group the nodes into a new machine config pool.
@@ -101,7 +101,7 @@ Use the following procedures for preparing a workload that will use real-time ca
101101
.Procedure
102102

103103
. Create a pod with a QoS class of `Guaranteed`.
104-
. (Optional) Disable CPU load balancing for DPDK.
104+
. Optional: Disable CPU load balancing for DPDK.
105105
. Assign a proper node selector.
106106

107107
When writing your applications, follow the general recommendations described in
@@ -167,7 +167,7 @@ If a container specifies its own memory limit, but does not specify a memory req
167167
====
168168

169169
[id="performance-addon-operator-disabling-cpu-load-balancing-for-dpdk_{context}"]
170-
== (Optional) Disabling CPU load balancing for DPDK
170+
== Optional: Disabling CPU load balancing for DPDK
171171

172172
Functionality to disable or enable CPU load balancing is implemented on the CRI-O level. The code under the CRI-O disables or enables CPU load balancing only when the following requirements are met.
173173

modules/ipi-install-node-requirements.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ endif::[]
2222

2323
- **Latest generation:** Nodes must be of the most recent generation. Installer-provisioned installation relies on BMC protocols, which must be compatible across nodes. Additionally, {op-system-base} 8 ships with the most recent drivers for RAID controllers. Ensure that the nodes are recent enough to support {op-system-base} 8 for the `provisioner` node and {op-system} 8 for the control plane and worker nodes.
2424

25-
- **Registry node:** (Optional) If setting up a disconnected mirrored registry, it is recommended the registry reside in its own node.
25+
- **Registry node:** Optional: If setting up a disconnected mirrored registry, it is recommended the registry reside in its own node.
2626

2727
- **Provisioner node:** Installer-provisioned installation requires one `provisioner` node.
2828

modules/pruning-hard-pruning-registry.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ $ oc adm policy add-cluster-role-to-user \
9797
${service_account} -n openshift-image-registry
9898
----
9999

100-
. *(Optional) Run the pruner in dry-run mode.*
100+
. *Optional: Run the pruner in dry-run mode.*
101101
+
102102
To see how many blobs would be removed, run the hard pruner in dry-run mode. No changes are actually made. The following example references an image registry pod called `image-registry-3-vhndw`:
103103
+

modules/virt-confirming-policy-updates-on-nodes.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ If the policy fails to be applied on the node, the enactment for that node inclu
2222
$ oc get nncp
2323
----
2424

25-
. (Optional) If a policy is taking longer than expected to successfully configure, you can inspect the requested state and status conditions of a particular policy:
25+
. Optional: If a policy is taking longer than expected to successfully configure, you can inspect the requested state and status conditions of a particular policy:
2626
+
2727
[source,terminal]
2828
----
2929
$ oc get nncp <policy> -o yaml
3030
----
3131

32-
. (Optional) If a policy is taking longer than expected to successfully configure on all nodes, you can list the status of the enactments on the cluster:
32+
. Optional: If a policy is taking longer than expected to successfully configure on all nodes, you can list the status of the enactments on the cluster:
3333
+
3434
[source,terminal]
3535
----
3636
$ oc get nnce
3737
----
3838

39-
. (Optional) To view the configuration of a particular enactment, including any error reporting for a failed configuration:
39+
. Optional: To view the configuration of a particular enactment, including any error reporting for a failed configuration:
4040
+
4141
[source,terminal]
4242
----

modules/virt-creating-bridge-nad-web.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ to provide existing layer-2 networking to pods and virtual machines.
2020
. Enter a unique *Name* and optional *Description*.
2121
. Click the *Network Type* list and select *CNV Linux bridge*.
2222
. Enter the name of the bridge in the *Bridge Name* field.
23-
. (Optional) If the resource has VLAN IDs configured, enter the ID numbers in the *VLAN Tag Number* field.
23+
. Optional: If the resource has VLAN IDs configured, enter the ID numbers in the *VLAN Tag Number* field.
2424
. Click *Create*.

modules/virt-creating-vm-wizard-web.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ Create Network interface cards (NICs) and storage disks later and attach them to
2727

2828
. Click *Customize virtual machine* to go to the *General* step.
2929

30-
.. (Optional) Edit the *Name* field to specify a custom name for the virtual machine.
30+
.. Optional: Edit the *Name* field to specify a custom name for the virtual machine.
3131

32-
.. (Optional) In the *Description* field, add a description.
32+
.. Optional: In the *Description* field, add a description.
3333

3434
. Click *Next* to go to the *Networking* step. A `nic0` NIC is attached by default.
3535

36-
.. (Optional) Click *Add Network Interface* to create additional NICs.
36+
.. Optional: Click *Add Network Interface* to create additional NICs.
3737

38-
.. (Optional) You can remove any or all NICs by clicking the Options menu {kebab} and selecting *Delete*. A virtual machine does not need a NIC attached to be created. You can create NICs after the virtual machine has been created.
38+
.. Optional: You can remove any or all NICs by clicking the Options menu {kebab} and selecting *Delete*. A virtual machine does not need a NIC attached to be created. You can create NICs after the virtual machine has been created.
3939

4040
. Click *Next* to go to the *Storage* step.
4141

42-
.. (Optional) Click *Add Disk* to create additional disks. These disks can be removed by clicking the Options menu {kebab} and selecting *Delete*.
42+
.. Optional: Click *Add Disk* to create additional disks. These disks can be removed by clicking the Options menu {kebab} and selecting *Delete*.
4343

44-
.. (Optional) Click the Options menu {kebab} to edit the disk and save your changes.
44+
.. Optional: Click the Options menu {kebab} to edit the disk and save your changes.
4545

4646
. Click *Next* to go to the *Advanced* step and review the details for *Cloud-init*.
4747

modules/virt-creating-vm-yaml-web.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Navigating away from the YAML screen while editing cancels any changes to the co
2121
. Click *Create* and select *Virtual Machine With YAML*.
2222
. Write or paste your virtual machine configuration in the editable window.
2323
.. Alternatively, use the `example` virtual machine provided by default in the YAML screen.
24-
. (Optional) Click *Download* to download the YAML configuration file in its present state.
24+
. Optional: Click *Download* to download the YAML configuration file in its present state.
2525
. Click *Create* to create the virtual machine.
2626

2727
The virtual machine is listed in the *Virtual Machines* tab.

updating/updating-cluster-rhel-compute.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ include::modules/understanding-upgrade-channels.adoc[leveloffset=+1]
3131
include::modules/update-upgrading-web.adoc[leveloffset=+1]
3232

3333
[id="updating-cluster-rhel-compute-hooks"]
34-
== (Optional) Adding hooks to perform Ansible tasks on RHEL machines
34+
== Optional: Adding hooks to perform Ansible tasks on RHEL machines
3535

3636
You can use _hooks_ to run Ansible tasks on the RHEL compute machines during
3737
the {product-title} update.

0 commit comments

Comments
 (0)