Cilium
Medium
Troubleshooting
Which Hubble command shows which CiliumNetworkPolicy allowed or denied the connections in a namespace?
Select your answer:
Show answer and explanation
Answer: hubble observe -n shop -t policy-verdict --print-policy-names
Explanation
Policy verdict events record the policy decision for a connection. With --print-policy-names, Hubble adds the matched policies to the verdict, such as "DENIED BY name (CiliumNetworkPolicy)", using the network policy correlation that is on by default. On plain drop events the flag adds nothing, because Hubble only attaches policy names to policy verdict events.
More medium Cilium questions
- Which of the following is a unique capability of Cilium compared to traditional CNI plugins?
- What is a Cilium Endpoint?
- What is Cilium's ClusterMesh feature used for?
- What is the purpose of the 'cilium connectivity test' command?
- Which component of Cilium is responsible for distributing security identities across the cluster?
- What is a Cilium Network Policy CRD?