Dataplane routing and dual stack
A Service gives clients a stable destination while Pods change. Imagine a catalog client on node-a connecting to inventory at a virtual address. DNS supplies an address; a Service dataplane maps the destination to an eligible endpoint. A CNI networking implementation provides Pod connectivity; the Service forwarding implementation may be a separate component or integrated into it. Neither the Service IP nor DNS proves that an endpoint is ready. Inspect the Service, EndpointSlices, address family, readiness and actual application response separately. On Linux, kube-proxy can program iptables rules, IPVS with supporting rules, or nftables rules, subject to release and kernel support. Treat IPVS as a migration lane: upstream guidance is moving toward nftables; do not infer a removal date from a blog headline. An eBPF-based implementation such as Cilium can handle Service translation using kernel hooks and maps instead of kube-proxy in a supported configuration. This changes observability, host firewall interactions and compatibility. Verify kernel, CNI and proxy versions, protocols, source-IP behavior and a rollback plan before migrating. Do not mix implementations by simply turning off kube-proxy.
Formal Syntax & Structure
apiVersion: v1kind: Servicemetadata: name: inventory namespace: mesh-labspec: selector: app: inventory ipFamilyPolicy: RequireDualStack ipFamilies: [IPv4, IPv6] ports: - port: 80 targetPort: 8080Working Example
node-a: no ready local endpointnode-b: one ready endpointinternalTrafficPolicy=Local -> no eligible endpoint on node-ainternalTrafficPolicy=Cluster -> node-b is a candidate