QuestionQ20

VerifiedCluster Mesh

Review the Cilium Network Policy in the YAML file. It was deployed in the ns-cca namespace on cluster1.

Question Image

Cluster Mesh CiliumNetworkPolicy exhibit

Which statement is correct?

Explanation

The policy selects endpoints labeled name=ship in ns-cca on cluster1 and allows egress to endpoints labeled name=base on cluster2. Because the destination selector does not specify a namespace, it defaults to the policy’s namespace, ns-cca. The name values are labels, not necessarily Pod names. (docs.cilium.io)

Learn more

Community Discussion

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