Back to Glossary
Kubernetes

What is Sidecar?

A container that runs alongside the main container in a pod to extend its functionality.

The Sidecar pattern involves deploying a helper container alongside the main application container in the same Pod. The sidecar extends or enhances the main container without changing it. Common sidecars: log shippers (Fluentd, Promtail), proxy containers (Envoy in service meshes), secrets injectors (Vault Agent), and init sync helpers. Sidecars share the pod's network and storage, allowing them to observe and augment the main container's behavior.

Test your knowledge of Sidecar and 130 other DevOps concepts