Skip to content

Commit 6f8e907

Browse files
authored
Added warning about issue to netpol logging
1 parent a1cead3 commit 6f8e907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/advanced.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,3 +466,5 @@ Packets sent to the NFLOG netlink socket can also be read by using command-line
466466
tcpdump -ni nflog:100
467467
```
468468
While more readily available, tcpdump will not show the name of the network policy that blocked the packet. Use wireshark's tshark command instead to display the full NFLOG packet header, including the `nflog.prefix` field that contains the policy name.
469+
470+
Network Policy logging of dropped packets does not support [policies with an empty `podSelector`](https://github.com/k3s-io/k3s/issues/8008). If you rely on logging dropped packets for diagnostic or audit purposes, ensure that your policies include a pod selector that matches the affected pods.

0 commit comments

Comments
 (0)