Kubernetes breaks networking into four key communication paths

  1. Container-to-Container communications
    Handled within a Pod, which provides a shared network namespace, as we'll learn later.

  2. Pod-to-Pod communications
    Typically implemented using an overlay network.

  3. Pod-to-Service communications
    Managed on each node by kube-proxy and the node’s packet filtering mechanism.

  4. External-to-Service communications
    Also handled by kube-proxy and the node’s packet filtering rules