Home > other >  Is Kubernetes Networking Smart Enough to Route ClusterIP Requests to Local Pod
Is Kubernetes Networking Smart Enough to Route ClusterIP Requests to Local Pod

Time:05-01

I think the question has most of the information. If I have a Service that is a ClusterIP Service, and a Pod accesses that Service, since the load balancing is built into the routing table, are the routing rules smart enough to prefer traffic to the local Node? Is there a way to configure it so that the traffic does prefer (or even be forced) to go to the local Node?

Reasoning - I'm thinking about running a caching server as a DaemonSet, which makes sense if traffic is likely to go to a local Pod.

CodePudding user response:

internalTrafficPolicy is probably what you are looking for.

  • Related