Skip to content

Instantly share code, notes, and snippets.

@murarisumit
Last active July 6, 2018 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murarisumit/fdca3f3f5bea9f5b93b3bd0af47a3a11 to your computer and use it in GitHub Desktop.
Save murarisumit/fdca3f3f5bea9f5b93b3bd0af47a3a11 to your computer and use it in GitHub Desktop.
kubernetes networking #networking #kubernetes

Ref:


  • We have two worker nodes, able to communicate with each other.
  • Each nodes have multiple pods running and each pod is able to communicate with any other pod in any other node(till node is accessible)

3 Basic requirements that kubernetes has put are:

* all containers can communicate with all other containers without NAT
* all nodes can communicate with all containers (and vice-versa) without NAT
* the IP that a container sees itself as is the same IP that others see it as

All in all, if we want to go underneath we can, but for just learning, we can assume that above 3 basic conditions are taken care of and our cluster will work. How it works, we can do that with different networking topology for nodes, with satisfy this property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment