Proceeding on demystifying #Kubernetes #networking.
In previous post we described the scheme and network setup for many containers in one pod. In this one we will describe how to link pods on the same node
Basically we have the same setup like in previous post, as we just adding one more pod. But the crucial part is #iptables rules for routing packages from one #networknamespace to another connecting 2 #veth pairs.
Remember that by default Kubernetes use iptables over #IPVS. An on big clusters better to switch to the IPVS as it more faster. You can do this by modyfing #ConfigMap of #KubeProxy
Here is full article: https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
In the next post we will connect containers on different nodes. Stay in touch.
And don't forget to support my work with like
#ANDevHowTo #ANDevHowToKubernetes #ANDevHowToNetworking
In previous post we described the scheme and network setup for many containers in one pod. In this one we will describe how to link pods on the same node
Basically we have the same setup like in previous post, as we just adding one more pod. But the crucial part is #iptables rules for routing packages from one #networknamespace to another connecting 2 #veth pairs.
Remember that by default Kubernetes use iptables over #IPVS. An on big clusters better to switch to the IPVS as it more faster. You can do this by modyfing #ConfigMap of #KubeProxy
Here is full article: https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
In the next post we will connect containers on different nodes. Stay in touch.
And don't forget to support my work with like
#ANDevHowTo #ANDevHowToKubernetes #ANDevHowToNetworking
🔥2