Sysadmin's Garden of Eden Docs

Version 1337.42.0

Explained

Assumptions

  • Basic network knowledge (e.g. CIDR, Source and Destination NAT)
  • Basic iptables knowledge
  • Pod/Cluster CIDR: 100.64.0.0/13
    • Every node gets a /24 podCIDR.
  • Service IP CIDR: 100.72.0.0/16
  • Node IP CIDR: 10.10.10.0/24

More info on IP Classless Inter-Domain Routing (short CIDR):

The source for the diagrams, can be found as .graphml at the same path as the images.

Example: kubernetes-networking-explained-network_stack.svg -> kubernetes-networking-explained-network_stack.graphml

Network Stack

Kubernetes Networking Explained - Network Stack

Traffic Flow

Pod to Pod

Kubernetes Networking Explained - Pod to Pod

Pod to Service IP

Kubernetes Networking Explained - Pod to Service IP

Service IP iptables

Kubernetes Networking Explained - Service IP iptables

NodePort to Service IP to Pod

Kubernetes Networking Explained NodePort to Service IP to Pod
Last updated on 16 May 2018 / Published on 17 May 2018