'I have set action: log in calico, but I can't find the log in syslog.And this network policy has already taken effect
`apiVersion: projectcalico.org/v3 kind: NetworkPolicy Metadata: name: allow-tcp-80 namespace: test Spec: selector: color == 'bule' types:
- Ingress
- Egress ingress:
- action: Log protocol: TCP source: selector: color == 'red'
- action: Deny protocol: TCP source: selector: color == 'red' `
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
