Network address translation or NAT is a method of mapping an IP address space into another by modifying network address information in the IP header of packets. This happens while the packers are in transit across a router.
The simplest type of NAT provides a one-to-one translation of IP addresses. The majority of network address translators map multiple private hosts to one publicly exposed IP address.
Stuff you wanna know:
- One Internet-routable IP address of a NAT gateway can be used for an entire private network.
- Pods on a node can communicate with all pods on all nodes without NAT.
- pods in the host network of a node can communicate with all pods on all nodes without NAT.
More stuff:
- https://en.wikipedia.org/wiki/Network_address_translation
- https://www.comptia.org/content/guides/what-is-network-address-translation
- https://kubernetes.io/docs/tutorials/services/source-ip/
- https://kubernetes.io/docs/concepts/services-networking/
- https://kubernetes.io/docs/concepts/cluster-administration/networking/
- https://blogs.cisco.com/developer/kubernetes-intro-3
- https://www.cisco.com/c/en/us/products/collateral/cloud-systems-management/intersight/comp-guide-kubernetes-networking-wp.html
- https://projectcalico.docs.tigera.io/networking/workloads-outside-cluster
- https://docs.microsoft.com/en-us/samples/azure-samples/aks-nat-agic/aks-nat-agic/
- https://cloud.google.com/nat/docs/overview