Skip to content

Commit 65e57a5

Browse files
authored
Merge pull request #10 from jpinsonneau/main
fix missing code section
2 parents 42bd1fe + aa4b094 commit 65e57a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/posts/2025-02-11-cli_whats_new_1.8.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ Filtering is crucial to gather precise network data without involving excessive
7474
It's now possible to define agents `nodeSelector` to capture on a subset of nodes. You can rely on existing labels or create a dedicated one for this usage. For example, you can run the agents on the node with the `kubernetes.io/hostname:my-node` label with the following command:
7575
```sh
7676
oc netobserv flows --node-selector=kubernetes.io/hostname:my-node
77+
```
78+
7779
### eBPF Filters
7880
Agents recently introduced [the ability to filter](https://github.com/netobserv/netobserv-ebpf-agent/blob/main/docs/flow_filtering.md) on IPs, Ports, Protocol, Action, TCPFlags, and more simultaneously. You can now apply these filters in the CLI as shown below:
7981

@@ -127,7 +129,7 @@ oc netobserv metrics --enable_all
127129
```
128130
to capture packet drops, DNS and RTT metrics or
129131
```sh
130-
oc netobserv metrics --enable_pktdrop
132+
oc netobserv metrics --enable_pkt_drop
131133
```
132134
to focus only on drops.
133135

0 commit comments

Comments
 (0)