Skip to content

Commit ec3bbb6

Browse files
CFE-500: Updates spec annotation in nodeobservability.yaml file
1 parent 09a39ca commit ec3bbb6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/node-observability-create-custom-resource.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Before you run profiling queries, you must create a `NodeObservability` custom r
1010

1111
[IMPORTANT]
1212
====
13-
Creating a `NodeObservability` CR reboots all the worker nodes. It might take 10 or more minutes to complete.
13+
The worker nodes matching the `nodeSelector` specified in `NodeObservability` CR are rebooted. It might take 10 or more minutes to complete.
1414
====
1515

16-
When you apply the `NodeObservability` CR, it creates the necessary machine config and machine config pool CRs to enable the CRI-O profiling on the worker nodes.
16+
When you apply the `NodeObservability` CR, the necessary machine config and machine config pool CRs are created to enable the CRI-O profiling on the worker nodes matching the `nodeSelector`.
1717

1818
[NOTE]
1919
====
@@ -52,11 +52,12 @@ $ oc project node-observability-operator
5252
metadata:
5353
name: cluster <1>
5454
spec:
55-
labels:
56-
node-role.kubernetes.io/worker: ""
55+
nodeSelector:
56+
node-role.kubernetes.io/worker: "" <2>
5757
type: crio-kubelet
5858
----
5959
<1> You must specify the name as `cluster` because there should be only one `NodeObservability` CR per cluster.
60+
<2> Specify the nodes on which the Node Observability agent must be deployed.
6061
6162
. Run the `NodeObservability` CR:
6263
+

0 commit comments

Comments
 (0)