Cilium
Hard
Policies
Hubble reports some drops as POLICY_DENIED and others as POLICY_DENY. What is the difference?
Select your answer:
Show answer and explanation
Answer: POLICY_DENIED: no rule allows it. POLICY_DENY: deny rule matched
Explanation
POLICY_DENIED (code 133, "Policy denied") means the endpoint is in default-deny and no allow rule matched. POLICY_DENY (code 181, "Policy denied by denylist") means an explicit ingressDeny or egressDeny rule matched, and since deny rules take precedence over allow rules, adding an allow rule won't fix it.
More hard Cilium questions
- What is the purpose of Cilium's egress gateway feature?
- What is the purpose of Cilium's 'prefilter' feature?
- In Cilium's tunnel mode (VXLAN or Geneve), how does the receiving node learn the security identity of a packet sent by a pod on another node?
- A CiliumNetworkPolicy contains HTTP rules, such as allowing only GET requests to /api. Which component enforces those rules?
- How does a client experience a request blocked by an L3/L4 Cilium policy, compared with one blocked by an L7 HTTP rule?
- With Cilium's default policy enforcement mode, when does a pod go from allowing all ingress traffic to denying everything that isn't explicitly allowed?