Sidecar pattern
Run supporting concerns (proxying, logging, config) in a companion process/container deployed alongside the app.
A sidecar is deployed next to an application instance and shares its lifecycle, providing capabilities like networking proxies, telemetry or certificate rotation without changing application code. Service meshes use sidecar proxies extensively. Costs are extra resource use per instance and added latency/complexity.
- Type
- Architecture pattern
- Category
- Architecture
- License
- Free
- Pricing
- Free
- Level
- Intermediate
- Technologies
- architecture, kubernetes, service-mesh
- Last verified
- 26 Nov 2026
What Sidecar pattern is used for
- Service meshes
- Language-agnostic cross-cutting features
Strengths
- Reuse across languages
- Decoupled infrastructure concerns
Limitations
- Resource overhead
- More moving parts
How it relates to other tools
- Sidecar pattern works with Kubernetes