Study. uk . com
  1. Home
  2. All questions
  3. Question 722

CKA study material · question 722 of 1000

A Service sets internalTrafficPolicy to Local. A Pod on a node with no ready endpoint for that Service tries to connect. What happens?

  1. kube-proxy drops the traffic
  2. The connection is forwarded to an endpoint on another node
  3. The connection is queued until a local endpoint appears
  4. The client falls back to the Service's DNS A records
Show the answer

Answer: A. kube-proxy drops the traffic

Under internalTrafficPolicy: Local, a Pod on a node holding no ready endpoint sees the Service as having none at all, and kube-proxy drops the traffic rather than crossing to another node.

Source: Virtual IPs and Service Proxies (Kubernetes) — Traffic policies › Internal traffic policy

Challenge yourself on this topic → Study as cards