Skip to content

Commit 1fff1dc

Browse files
committed
OSDOCS-16874-5: CQA for SCALE-4 Low-Latency/CNF Debugging and Related
1 parent 1fb58ef commit 1fff1dc

6 files changed

Lines changed: 39 additions & 27 deletions

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
[id="creating-node-observability-custom-resource_{context}"]
77
= Creating the Node Observability custom resource
88

9-
You must create and run the `NodeObservability` custom resource (CR) before you run the profiling query. When you run the `NodeObservability` CR, it creates the necessary machine config and machine config pool CRs to enable the CRI-O profiling on the worker nodes matching the `nodeSelector`.
9+
[role="_abstract"]
10+
You must create and run the `NodeObservability` custom resource (CR) before you run the profiling query. When you run the `NodeObservability` CR, the CR creates the necessary machine config and machine config pool CRs to enable the CRI-O profiling on the compute nodes matching the `nodeSelector`.
1011

1112
[IMPORTANT]
1213
====
13-
If CRI-O profiling is not enabled on the worker nodes, the `NodeObservabilityMachineConfig` resource gets created. Worker nodes matching the `nodeSelector` specified in `NodeObservability` CR restarts. This might take 10 or more minutes to complete.
14+
If CRI-O profiling is not enabled on the compute nodes, the `NodeObservabilityMachineConfig` resource gets created. Compute nodes matching the `nodeSelector` specified in `NodeObservability` CR restarts. This might take 10 or more minutes to complete.
1415
====
1516

1617
[NOTE]
@@ -21,8 +22,9 @@ Kubelet profiling is enabled by default.
2122
The CRI-O unix socket of the node is mounted on the agent pod, which allows the agent to communicate with CRI-O to run the pprof request. Similarly, the `kubelet-serving-ca` certificate chain is mounted on the agent pod, which allows secure communication between the agent and node's kubelet endpoint.
2223

2324
.Prerequisites
25+
2426
* You have installed the Node Observability Operator.
25-
* You have installed the OpenShift CLI (oc).
27+
* You have installed the {oc-first}.
2628
* You have access to the cluster with `cluster-admin` privileges.
2729
2830
.Procedure
@@ -45,25 +47,25 @@ $ oc project node-observability-operator
4547
+
4648
[source,yaml]
4749
----
48-
apiVersion: nodeobservability.olm.openshift.io/v1alpha2
49-
kind: NodeObservability
50-
metadata:
51-
name: cluster <1>
52-
spec:
53-
nodeSelector:
54-
kubernetes.io/hostname: <node_hostname> <2>
55-
type: crio-kubelet
50+
apiVersion: nodeobservability.olm.openshift.io/v1alpha2
51+
kind: NodeObservability
52+
metadata:
53+
name: cluster
54+
spec:
55+
nodeSelector:
56+
kubernetes.io/hostname: <node_hostname>
57+
type: crio-kubelet
5658
----
57-
<1> You must specify the name as `cluster` because there should be only one `NodeObservability` CR per cluster.
58-
<2> Specify the nodes on which the Node Observability agent must be deployed.
59+
+
60+
** `metadata.name`: Specifies the name as `cluster` because there should be only one `NodeObservability` CR per cluster.
61+
** `spec.nodeSelector.kubernetes.io/hostname`: Specifies the nodes on which the Node Observability agent must be deployed.
5962

6063
. Run the `NodeObservability` CR:
6164
+
6265
[source,terminal]
6366
----
6467
oc apply -f nodeobservability.yaml
6568
----
66-
6769
+
6870
.Example output
6971
[source,terminal]
@@ -77,7 +79,6 @@ nodeobservability.olm.openshift.io/cluster created
7779
----
7880
$ oc get nob/cluster -o yaml | yq '.status.conditions'
7981
----
80-
8182
+
8283
.Example output
8384
[source,terminal]
@@ -91,6 +92,5 @@ conditions:
9192
status: "True"
9293
type: Ready
9394
----
94-
9595
+
9696
`NodeObservability` CR run is completed when the reason is `Ready` and the status is `True`.

modules/node-observability-high-level-workflow.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
[id="workflow-node-observability-operator_{context}"]
77
= Workflow of the Node Observability Operator
88

9+
[role="_abstract"]
10+
To systematically query and analyze profiling data, follow the workflow for the Node Observability Operator. By understanding this process, you can collect metrics and troubleshoot performance issues on your compute nodes.
11+
912
The following workflow outlines on how to query the profiling data using the Node Observability Operator:
1013

1114
. Install the Node Observability Operator in the {product-title} cluster.

modules/node-observability-install-cli.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
[id="install-node-observability-using-cli_{context}"]
77
= Installing the Node Observability Operator using the CLI
88

9-
You can install the Node Observability Operator by using the OpenShift CLI (oc).
9+
[role="_abstract"]
10+
You can install the Node Observability Operator by using the {oc-first}.
1011

1112
.Prerequisites
1213

13-
* You have installed the OpenShift CLI (oc).
14+
* You have installed the {oc-first}.
1415
* You have access to the cluster with `cluster-admin` privileges.
1516
1617
.Procedure
@@ -21,7 +22,6 @@ You can install the Node Observability Operator by using the OpenShift CLI (oc).
2122
----
2223
$ oc get packagemanifests -n openshift-marketplace node-observability-operator
2324
----
24-
2525
+
2626
.Example output
2727
[source,terminal]
@@ -78,7 +78,6 @@ EOF
7878
----
7979
$ oc -n node-observability-operator get sub node-observability-operator -o yaml | yq '.status.installplan.name'
8080
----
81-
8281
+
8382
.Example output
8483
[source,terminal]
@@ -94,7 +93,6 @@ $ oc -n node-observability-operator get ip <install_plan_name> -o yaml | yq '.st
9493
----
9594
+
9695
`<install_plan_name>` is the install plan name that you obtained from the output of the previous command.
97-
9896
+
9997
.Example output
10098
[source,terminal]
@@ -108,7 +106,6 @@ COMPLETE
108106
----
109107
$ oc get deploy -n node-observability-operator
110108
----
111-
112109
+
113110
.Example output
114111
[source,terminal]

modules/node-observability-install-web-console.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="install-node-observability-using-web-console_{context}"]
77
= Installing the Node Observability Operator using the web console
88

9+
[role="_abstract"]
910
You can install the Node Observability Operator from the {product-title} web console.
1011

1112
.Prerequisites
@@ -16,16 +17,27 @@ You can install the Node Observability Operator from the {product-title} web con
1617
.Procedure
1718

1819
. Log in to the {product-title} web console.
20+
1921
. In the Administrator's navigation panel, select *Ecosystem* -> *Software Catalog*.
22+
2023
. In the *All items* field, enter *Node Observability Operator* and select the *Node Observability Operator* tile.
24+
2125
. Click *Install*.
26+
2227
. On the *Install Operator* page, configure the following settings:
28+
+
2329
.. In the *Update channel* area, click *alpha*.
30+
+
2431
.. In the *Installation mode* area, click *A specific namespace on the cluster*.
32+
+
2533
.. From the *Installed Namespace* list, select *node-observability-operator* from the list.
34+
+
2635
.. In the *Update approval* area, select *Automatic*.
36+
+
2737
.. Click *Install*.
2838

2939
.Verification
40+
3041
. In the Administrator's navigation panel, expand *Ecosystem* -> *Installed Operators*.
42+
3143
. Verify that the Node Observability Operator is listed in the Operators list.

modules/node-observability-installation.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
:_mod-docs-content-type: CONCEPT
66
[id="install-node-observability-operator_{context}"]
7-
= Installing the Node Observability Operator
7+
= Node Observability Operator installation methods
88

9+
[role="_abstract"]
910
The Node Observability Operator is not installed in {product-title} by default. You can install the Node Observability Operator by using the {product-title} CLI or the web console.

scalability_and_performance/node-observability-operator.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
The Node Observability Operator collects and stores CRI-O and Kubelet profiling or metrics from scripts of compute nodes.
10-
11-
With the Node Observability Operator, you can query the profiling data, enabling analysis of performance trends in CRI-O and Kubelet. It supports debugging performance-related issues and executing embedded scripts for network metrics by using the `run` field in the custom resource definition. To enable CRI-O and Kubelet profiling or scripting, you can configure the `type` field in the custom resource definition.
9+
[role="_abstract"]
10+
To analyze performance trends and debug issues on your compute nodes, use the Node Observability Operator to collect and query CRI-O and Kubelet metrics. By reviewing this profiling data, you can optimize system performance and execute embedded scripts for network analysis.
1211

12+
With the Node Observability Operator, you can query the profiling data, enabling analysis of performance trends in CRI-O and Kubelet. The Operator supports debugging performance-related issues and executing embedded scripts for network metrics by using the `run` field in the custom resource definition. To enable CRI-O and Kubelet profiling or scripting, you can configure the `type` field in the custom resource definition.
1313

1414
:FeatureName: The Node Observability Operator
1515
include::snippets/technology-preview.adoc[leveloffset=+0]
@@ -22,7 +22,6 @@ include::modules/node-observability-install-cli.adoc[leveloffset=+2]
2222

2323
include::modules/node-observability-install-web-console.adoc[leveloffset=+2]
2424

25-
2625
[id="requesting-crio-kubelet-profiling-using-noo_{context}"]
2726
== Requesting CRI-O and Kubelet profiling data using the Node Observability Operator
2827

0 commit comments

Comments
 (0)