What Kubernetes component handles network communications inside and outside of a cluster, using operating system packet filtering if available?
Correct Answer: A
kube-proxy is the Kubernetes component responsible for implementing Service networking on nodes, commonly by programming operating system packet filtering / forwarding rules (like iptables or IPVS), which makes A correct.
Kubernetes Services provide stable virtual IPs and ports that route traffic to a dynamic set of Pod endpoints.
kube-proxy watches the API server for Service and EndpointSlice/Endpoints updates and then configures the node's networking so that traffic to a Service is correctly forwarded to one of the backend Pods. In iptables mode, kube-proxy installs NAT and forwarding rules; in IPVS mode, it programs kernel load-balancing tables. In both cases, it leverages OS-level packet handling to efficiently steer traffic. This is the "packet filtering if available" concept referenced in the question.
kube-proxy's work affects both "inside" and "outside" paths in typical setups. Internal cluster clients reach Services via ClusterIP and DNS, and kube-proxy rules forward that traffic to Pods. For external traffic, paths often involve NodePort or LoadBalancer Services or Ingress controllers that ultimately forward into Services
/Pods-again relying on node-level service rules. While some modern CNI/eBPF dataplanes can replace or bypass kube-proxy, the classic Kubernetes architecture still defines kube-proxy as the component implementing Service connectivity.
The other options are not networking dataplane components: kubelet runs Pods and reports status; etcd stores cluster state; kube-controller-manager runs control loops for API objects. None of these handle node-level packet routing for Services. Therefore, the correct verified answer is A: kube-proxy.