QuestionQ28Verified/Kubernetes Cluster Component SecurityCopy linkReport a problemAsk AstroTutorSave questionHow does kube-proxy route traffic to a Pod according to its Service configuration?AThe kube proxy configures eBPF on the node to forward traffic from the Service to the PodBThe kube proxy implements a virtual IP mechanism for Services (e.g., via iptables).CThe kube proxy injects multiple A records in the CoreDNS Pod for each Service.DThe kube-proxy injects reverse proxy configuration in the Ingress Controller (e.g., nginx).Show AnswerAnswerExplanationkube-proxy implements the virtual-IP mechanism for Kubernetes Services. It configures node-level packet-forwarding rules—such as iptables rules—to capture traffic addressed to a Service ClusterIP and port, select a Service endpoint, and redirect the traffic to that endpoint, typically a Pod.Learn moreVirtual IPs and Service ProxiesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion