QuestionQ54

VerifiedNetwork Policy

Which statement is correct about this Cilium Network Policy?

Question Image

Question 21 Cilium Network Policy exhibit

Explanation

A names the intended namespace and destination: an empty endpointSelector selects pods in the CiliumNetworkPolicy’s namespace, and the egress selector targets kube-dns endpoints in kube-system. The DNS wildcard matches all DNS names, not necessarily all traffic. As written, however, toPorts is a mapping rather than the required list, so the policy would not be accepted as shown. The default namespace is also an assumption because no namespace is specified. (docs.cilium.io)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!