GKE Dataplane v1 implements Service routing with kube-proxy and Kubernetes NetworkPolicies with Calico. Both rely on Linux iptables rules, making the node’s rule set central to traffic handling. section 10.2.1
The components have distinct jobs:
- kube-proxy watches the Kubernetes API server and updates destination NAT rules that map a Service’s stable ClusterIP to healthy Pods. It also manages Service port remapping. section 10.2.1
- Calico implements Kubernetes NetworkPolicies using iptables-based components. section 10.2.1
Service port remapping
A Service with port 80 and targetPort 8080 accepts client traffic on port 80 and forwards it to an application listening on port 8080 in a Pod; kube-proxy maintains the corresponding node rules. section 10.2.1
Compare Dataplane v1’s kube-proxy and Calico iptables paths with Dataplane v2’s eBPF paths across Service resolution and policy enforcement. section 10.2.1
