Overview - Sidecar proxy concept (Envoy)
What is it?
A sidecar proxy is a helper program that runs alongside an application inside the same container or pod. Envoy is a popular sidecar proxy that manages network traffic for the application, handling tasks like routing, security, and observability. It acts as a middleman between the app and the network, without changing the app itself. This helps improve communication and control in complex systems like Kubernetes.
Why it matters
Without sidecar proxies like Envoy, applications would have to manage complex networking tasks themselves, making them harder to build and maintain. Sidecars simplify this by offloading networking responsibilities, improving security, and enabling features like load balancing and monitoring. This makes systems more reliable and easier to update without downtime.
Where it fits
Before learning about sidecar proxies, you should understand basic Kubernetes concepts like pods and containers, and networking fundamentals. After this, you can explore service meshes, which use sidecar proxies to manage communication between many services automatically.