|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * network_observability/observing-network-traffic.adoc |
| 4 | + |
| 5 | +:_content-type: PROCEDURE |
| 6 | +[id="network-observability-packet-drops_{context}"] |
| 7 | += Working with packet drops |
| 8 | +Packet loss occurs when one or more packets of network flow data fail to reach their destination. You can track these drops by editing the `FlowCollector` to the specifications in the following YAML example. |
| 9 | + |
| 10 | +[IMPORTANT] |
| 11 | +==== |
| 12 | +CPU and memory usage increases when this feature is enabled. |
| 13 | +==== |
| 14 | + |
| 15 | +.Prerequisites |
| 16 | +* Access to an {product-title} cluster with version 4.13. |
| 17 | +* Kernel supported by Red Hat Enterprise Linux (RHEL) 9.2. |
| 18 | +
|
| 19 | +.Procedure |
| 20 | +. In the web console, navigate to *Operators* -> *Installed Operators*. |
| 21 | +. Under the *Provided APIs* heading for the *NetObserv Operator*, select *Flow Collector*. |
| 22 | +. Select *cluster*, and then select the *YAML* tab. |
| 23 | +. Configure the `FlowCollector` custom resource for packet drops, for example: |
| 24 | ++ |
| 25 | +[id="network-observability-flowcollector-configuring-pkt-drop_{context}"] |
| 26 | +.Example `FlowCollector` configuration |
| 27 | +[source, yaml] |
| 28 | +---- |
| 29 | +apiVersion: flows.netobserv.io/v1alpha1 |
| 30 | +kind: FlowCollector |
| 31 | +metadata: |
| 32 | + name: cluster |
| 33 | +spec: |
| 34 | + namespace: netobserv |
| 35 | + deploymentModel: DIRECT |
| 36 | + agent: |
| 37 | + type: EBPF |
| 38 | + ebpf: |
| 39 | + features: |
| 40 | + - PacketDrop <1> |
| 41 | + privileged: true <2> |
| 42 | +---- |
| 43 | +<1> You can start reporting the packet drops of each network flow by listing the `PacketDrop` parameter in the `spec.agent.ebpf.features` specification list. |
| 44 | +<2> The `spec.agent.ebpf.privileged` specification value must be `true` for packet drop tracking. |
| 45 | + |
| 46 | +.Verification |
| 47 | +* When you refresh the *Network Traffic* page, the *Overview*, *Traffic Flow*, and *Topology* views display new information about packet drops: |
| 48 | +.. Select new choices in *Manage panels* to choose which graphical visualizations of packet drops to display in the *Overview*. |
| 49 | +.. Select new choices in *Manage columns* to choose which packet drop information to display in the *Traffic flows* table. |
| 50 | +... In the *Traffic Flows* view, you can also expand the side panel to view more information about packet drops. |
| 51 | +.. In the *Topology* view, red lines are displayed where drops are present. |
0 commit comments