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
Copy file name to clipboardExpand all lines: modules/network-observability-flowcollector-api-specifications.adoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,11 +146,12 @@ Type::
146
146
147
147
| `cacheActiveTimeout`
148
148
| `string`
149
-
| cacheActiveTimeout is the max period during which the reporter will aggregate flows before sending
149
+
| cacheActiveTimeout is the max period during which the reporter will aggregate flows before sending. Increasing `cacheMaxFlows` and `cacheActiveTimeout` can decrease the network traffic overhead and the CPU load, however you can expect higher memory consumption and an increased latency in the flow collection.
150
+
150
151
151
152
| `cacheMaxFlows`
152
153
| `integer`
153
-
| cacheMaxFlows is the max number of flows in an aggregate; when reached, the reporter sends the flows
154
+
| cacheMaxFlows is the max number of flows in an aggregate; when reached, the reporter sends the flows. Increasing `cacheMaxFlows` and `cacheActiveTimeout` can decrease the network traffic overhead and the CPU load, however you can expect higher memory consumption and an increased latency in the flow collection.
It is recommended to install Loki using the link:https://catalog.redhat.com/software/containers/openshift-logging/loki-rhel8-operator/622b46bcae289285d6fcda39[Loki Operator version 5.6], This version provides the ability to create a LokiStack instance using the `openshift-network` tennant configuration mode. It also provides fully automatic, in-cluster authentication and authorization support for Network Observability.
8
9
9
10
.Prerequisites
10
11
11
-
* Installed Loki, recommended to install Loki using the link:https://catalog.redhat.com/software/containers/openshift-logging/loki-rhel8-operator/622b46bcae289285d6fcda39[Loki Operator version 5.6], which allows the ability to specify a `network` tenant for Loki. The `network` tenant uses a specific tenant mode only implemented in version 5.6 of the Loki Operator.
12
-
* Object storage, such as AWS S3.
12
+
* Supported Log Store (AWS S3, Google Cloud Storage, Azure, Swift, Minio, OpenShift Data Foundation)
13
13
* {product-title} 4.10+.
14
14
* Linux Kernel 4.18+.
15
15
16
16
//* <Any Loki install prerequisites for using with Network Observability operator?>
17
17
18
-
There are several ways you can install Loki. One way is by installing the Loki Operator using the {product-title} web console Operator Hub.
18
+
There are several ways you can install Loki. One way you can install the Loki Operator is by using the {product-title} web console Operator Hub.
19
19
20
20
21
21
.Procedure
@@ -33,8 +33,8 @@ There are several ways you can install Loki. One way is by installing the Loki O
33
33
.. Verify that *Loki Operator* is listed with *Status* as *Succeeded* in all the projects.
34
34
+
35
35
. Create a `Secret` YAML file. You can create this secret in the web console or CLI.
36
-
37
-
.. Using the web console, navigate to the Import icon ,*+*, in the top right corner. Drop your YAML file into the editor. It is important to create this YAML file in the `netobserv` namespace that uses the `access_key_id` and `access_key_secret` to specify your credentials.
36
+
.. Using the web console, navigate to the *Project*->*All Projects* dropdown and select *Create Project*. Name the project `netobserv` and click *Create*.
37
+
.. Navigate to the Import icon ,*+*, in the top right corner. Drop your YAML file into the editor. It is important to create this YAML file in the `netobserv` namespace that uses the `access_key_id` and `access_key_secret` to specify your credentials.
38
38
39
39
.. Once you create the secret, you should see it listed under *Workloads* -> *Secrets* in the web console.
You can install the Network Observability Operator using the {product-title} web console Operator Hub. When you install the Operator, you also create the `FlowCollector` resource. You can set specifications in the web console when you create the `FlowCollector`.
8
+
You can install the Network Observability Operator using the {product-title} web console Operator Hub. When you install the Operator, it provides the `FlowCollector` custom resource definition (CRD). You can set specifications in the web console when you create the `FlowCollector`.
9
+
10
+
.Prerequisites
11
+
12
+
* Installed Loki. It is recommended to install Loki using the link:https://catalog.redhat.com/software/containers/openshift-logging/loki-rhel8-operator/622b46bcae289285d6fcda39[Loki Operator version 5.6].
9
13
10
14
.Procedure
11
15
@@ -17,7 +21,7 @@ You can install the Network Observability Operator using the {product-title} web
17
21
+
18
22
* *spec.agent.ebpf.Sampling* : Specify a sampling size for flows. Lower sampling sizes will have higher impact on resource utilization. For more information, see the `FlowCollector` API reference, under spec.agent.ebpf.
19
23
* *spec.deploymentModel*: If you are using Kafka, verify Kafka is selected.
20
-
* *Loki.url*: Since authentication is specified separately, this URL needs to be updated to `https://loki-gateway.http-netobserv.svc:8080/api/logs/v1/network`
24
+
* *loki.url*: Since authentication is specified separately, this URL needs to be updated to `https://loki-gateway-http.netobserv.svc:8080/api/logs/v1/network`. The first part of the URL, "loki", should match the name of your LokiStack.
21
25
* *loki.tenantID*: Set this to `network`.
22
26
* *loki.statusUrl*: Set this to `https://loki-query-frontend-http.netobserv.svc:3100/`.
Red Hat offers cluster administrators the Network Observability Operator to observe the network traffic for {product-title} clusters. The Network Observability uses the eBPF technology to create network flows. The network flows are then enriched with {product-title} information and stored in Loki. You can view and analyze the stored netflow information in the {product-title} console for further insight and troubleshooting.
9
+
Red Hat offers cluster administrators the Network Observability Operator to observe the network traffic for {product-title} clusters. The Network Observability uses the eBPF technology to create network flows. The network flows are then enriched with {product-title} information and stored in Loki. You can view and analyze the stored network flows information in the {product-title} console for further insight and troubleshooting.
10
10
11
11
[id="dependency-network-observability"]
12
12
== Dependency of Network Observability Operator
@@ -34,7 +34,8 @@ The Network Observability Operator provides the Flow Collector API custom resour
34
34
[id="network-observability-dashboards"]
35
35
=== Network Observability metrics
36
36
37
-
By using Network Observability metrics, you can refine the stats by using the filters and display options. The {product-title} console offers the *Overview* tab which displays the overall aggregated metrics of the network traffic flow on the cluster. You can access the information for node, namespace, owner, pod, and service.
37
+
The {product-title} console offers the *Overview* tab which displays the overall aggregated metrics of the network traffic flow on the cluster. The information can be displayed by node, namespace, owner, pod, and service. Filters and display options can further refine the metrics.
0 commit comments