A service mesh is a dedicated tooling or infrastructure layer for handling service-to-service communication. Let's understand this first in the context of Kubernetes:
- Basic service mesh: Kubernetes provides a basic service mesh out of the box, and this is the service resource. It provides a round-robin balancing for requests to the target pods. Kubernetes service is a dynamic function that manages iptables under the cover on each host, and this process is transparent. As a pod in Kubernetes becomes ready, or a liveliness check passes, the endpoints of the service are enabled to provide a connection from outside to the IP addresses of the pods.
- Advanced service mesh: Note that the service-to-service ...