apiVersion: cilium.io/v1alpha1 kind: TracingPolicy metadata: name: network-egress-monitoring spec: kprobes: - call: tcp_connect syscall: false return: false args: - index: 0 type: sock maxData: false resolve: "" returnCopy: false selectors: - matchActions: - action: Post - call: tcp_close syscall: false return: false args: - index: 0 type: sock maxData: false resolve: "" returnCopy: false selectors: - matchActions: - action: Post