Allows to add functionality to a container without modifying the
container itself.
▪ Useful if you want to add logging or monitoring functionality to an
existing container image that you do not control.
▪ Allows you to decouple the main container from the sidecar
functionality, easier to update or replace the sidecar without affecting
the main container.
▪ Allows to run multiple containers in a pod that share the same network
namespace, making it easier to communicate between them.
▪ Allows to add common functionality to multiple microservices without
having to modify the microservices themselves.
https://learn.microsoft.com/en-us/azure/architecture/patterns/sidecar