liveBook · Manning

Sidecar process

As explained in Effective Platform Engineering

A sidecar proxy is a proxy deployed alongside an application workload to handle communication without requiring application-code changes.

A sidecar proxy runs alongside an application workload and handles its network traffic without requiring application-code changes. It can forward, filter, or modify traffic according to its configuration. In a service mesh, this makes communication behavior a platform concern rather than something every service must implement. section 8.4.2

A proxy can be configured to:

On Kubernetes, a proxy runs over the container network. A dedicated proxy per pod supports finer-grained traffic control, isolation, and observability. Sharing one proxy per node or cluster is an alternative, but makes service-specific policies and granular metrics harder. Choose the placement according to the control each workload needs. section 8.4.2

Figure 8.5 A service mesh acts as a control plane for proxy servers, deploying and configuring them based on our instructions, creating a standardized way of utilizing this integration point.
A diagram of a diagram of a service mesh

AI-generated content may be incorrect.

The diagram shows how a service mesh deploys and configures proxies through a control plane, standardizing this integration point. section 8.4.2

How Effective Platform Engineering covers it

How deep it goes
Defines proxy behavior and compares per-pod with shared placement, but does not show individual proxy configuration.
Examples
Uses web-token validation, connection retries, and encryption between proxies as configuration examples.
What it assumes
Assumes familiarity with Kubernetes pods and container networking while defining the proxy’s intermediary role.
What you can do after
Operate/configure it through a service mesh to apply communication behavior without changing application code.
How it connects
Connects sidecar proxies to service meshes, Kubernetes container networking, traffic control, isolation, and observability.

Also explained in

Compare how 11 books explain sidecar process →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Platform Engineering. The section links point to the parts of the book it draws on.