KCNA · Question #7
What feature must a CNI support to control specific traffic flows for workloads running in Kubernetes?
The correct answer is D. Network Policies. To control specific traffic flows for workloads in Kubernetes, the CNI plugin must support Network Policies.
Question
What feature must a CNI support to control specific traffic flows for workloads running in Kubernetes?
Options
- ABorder Gateway Protocol
- BBorder Gateway Protocol
- CPod Security Policy
- DNetwork Policies
How the community answered
(61 responses)- A2% (1)
- B3% (2)
- D95% (58)
Why each option
To control specific traffic flows for workloads in Kubernetes, the CNI plugin must support Network Policies.
Border Gateway Protocol (BGP) is a routing protocol primarily used for routing between autonomous systems on the internet, or sometimes within a large cluster for advanced routing, but it's not the feature that directly enables Kubernetes Network Policies.
Border Gateway Protocol (BGP) is a routing protocol primarily used for routing between autonomous systems on the internet, or sometimes within a large cluster for advanced routing, but it's not the feature that directly enables Kubernetes Network Policies.
Pod Security Policy (PSP) controls security aspects of Pod creation and updates, such as privileged containers or host path access, not specific network traffic flows.
Kubernetes Network Policies are a declarative way to specify how groups of Pods are allowed to communicate with each other and other network endpoints. A CNI (Container Network Interface) plugin must implement support for Network Policies to enable this granular control over traffic flows within the cluster.
Concept tested: CNI and Network Policies
Source: https://kubernetes.io/docs/concepts/services-networking/network-policies/
Topics
Community Discussion
No community discussion yet for this question.