What is “The Sidecar Pattern” in the context to Containers and Cloud ?

Kumar Chinnakali
2 min readMar 2, 2019

--

The motivation for this week’s blog is because of Containers impact. It is the foundation of building block for the any distributed systems. The sidecar pattern is single machine pattern made up of two containers, which is application container and sidecar container. The application container is responsible for the core logic of the container and sidecar responsible is improve the application container, some time it the application container doesn’t know the significance of sidecar container. The sidecar container are co-scheduled in the same machine via pod API object in Kubernetes, in addition to co-scheduled both the application and sidecar container shares many like file system, host name, network, and namespaces.

The below are the pointers for the reason the sidecar pattern is special in the context to Containers and Cloud.

  1. Adding HTTPS to a legacy service, would be typical and value adding example across the industry use cases. (https://12.12.12(SSL Proxy) >>>> http://localhost(Legacy HTTP Service).
  2. Dynamic configurations with Sidecars.

Dynamic configurations with Sidecars.

  • With the sidecar pattern we can enable the effective modular application containers.
  • Building a simple PaaS with sidecars is ease and very effective.
  • Dynamic configurations with Sidecars.
  • Building a simple PaaS with sidecars is ease and very effective.
  • Design Sidecars for Modularity and Reusability simple PaaS with sidecars is ease and very effective by leveraging parameterizing our containers, creating API surface of our container, documenting the operations of our container.

To conclude, the sidecar container augments and extends the application containers for an additional functionality, and also it used to update the existing the legacy applications while the changing the application would be very costly.

Happy Reading, Happy Sharing !

--

--

Kumar Chinnakali

Energy, Utilities, & Chemicals: Go-to-Market Lead & Chief Architect