k8wiz
Cilium
Hard
Policies

What is wrong with a Cilium egress rule that lists both toFQDNs and toEndpoints?

Select your answer:

Show answer and explanation

Answer: A toFQDNs rule can't contain other L3 selectors such as toEndpoints

Explanation

Cilium's documentation states that toFQDNs egress rules can't contain other L3 rules such as toEndpoints or toCIDR. They may contain toPorts with L4 and L7 rules. Put the DNS rule to kube-dns and the toFQDNs rule in separate entries of the same egress list.

Read more about Cilium