Kubernetes Networking :
A powerful platform and many intelligent design choices together make Kubernetes.
To discuss working of Kubernetes networking we need to discuss the first part which includes containers and pods, second part includes service examination and the extraction layers and the third part includes ingress and accumulating traffic to the pods from outside the cluster.
Time For The Pods :
A pod is the unit of a Kubernetes application.
It consists of one or more containers.
Typical situation where we start a Docker container on the local machine :
The Working Of A Pod Networking
How does a simple cluster , with two nodes look like ?
In the above image , the private network address is 10. 100.0.0/24.
With respect to this network address , the router address is 10.100.0.1.
The two instance addresses are 10.100.0.2 and 10.100.0.3 respectively.
Simple Cluster with two nodes :
If you look at the image , the host on the left has has an interface eth0.
The address is 10.100.0.2 and its default gateway router is located at 10.100.0.1.
Docker0 is connected to the same interface via a bridge.
The address is 172.17.0.1, and connected to that is interface veth0 with address 172.17.0.2.
A powerful platform and many intelligent design choices together make Kubernetes.
To discuss working of Kubernetes networking we need to discuss the first part which includes containers and pods, second part includes service examination and the extraction layers and the third part includes ingress and accumulating traffic to the pods from outside the cluster.
Time For The Pods :
A pod is the unit of a Kubernetes application.
It consists of one or more containers.
Typical situation where we start a Docker container on the local machine :
The Working Of A Pod Networking
How does a simple cluster , with two nodes look like ?
In the above image , the private network address is 10. 100.0.0/24.
With respect to this network address , the router address is 10.100.0.1.
The two instance addresses are 10.100.0.2 and 10.100.0.3 respectively.
Simple Cluster with two nodes :
If you look at the image , the host on the left has has an interface eth0.
The address is 10.100.0.2 and its default gateway router is located at 10.100.0.1.
Docker0 is connected to the same interface via a bridge.
The address is 172.17.0.1, and connected to that is interface veth0 with address 172.17.0.2.
No comments:
Post a Comment