Sidecar
Definition
A sidecar is a separate process or container that runs next to each instance of an application, shares its network and lifecycle, and provides a cross-cutting capability such as proxying, mTLS or log and trace collection.
In practice
In a classic service mesh every pod gets a proxy sidecar (usually Envoy); traffic is redirected through it, so timeouts, retries, mutual TLS and metrics behave the same for every service in every language. Telemetry agents and secret-fetching helpers use the same pattern.
Sidecars cost CPU, memory and an extra hop per pod, which adds up across thousands of pods, and their start-up and shutdown order relative to the app can break requests. That is why sidecar-less modes (a per-node proxy, eBPF) and native sidecar support in Kubernetes exist. A sidecar also cannot see inside the app, so trace headers must still be forwarded in code.
Example
Each of 400 pods runs an Envoy sidecar using about 0.05 vCPU and 60 MiB at idle, roughly 20 vCPUs and 24 GiB across the cluster just for proxies.