Process Flow - Sidecar container pattern
Pod Start
Main Container Starts
Sidecar Container Starts
Sidecar Enhances Main Container
Shared Volume or Network Communication
Pod Runs Both Containers Together
Pod Stops Both Containers
The pod starts both main and sidecar containers together. The sidecar container runs alongside the main container to add extra features like logging or proxying, sharing data or network.