on a single node’s IP to a containerPort • only one per-port per-node • should be your LAST RESORT - if the pod moves, the ip:port changes node node node pod 3306 pod 8080 pod 8080 pod 80 80 80 80
the service VIP • service clients use this • stable ip:port - does not change when pods move node node node pod 3306 pod 8080 pod 80 pod 8080 pod 8080 service 8080
node to a service port • ports are allocated, random • useful to interface with load-balancers that only understand nodes cluster node node node pod pod pod 31234 31234 3306 8080 8080 31234 pod 3306 pod 8080