Sitemap
Bachina Labs

Tutorials Ranging from Beginner guides to Advanced | Never Stop Learning

Member-only story

Kubernetes — Learn Sidecar Container Pattern

6 min readSep 7, 2020

--

Photo by hidde schalm on Unsplash

Kubernetes is an open-source container orchestration engine for automating deployment, scaling, and management of containerized applications. A pod is the basic building block of kubernetes application. Kubernetes manages pods instead of containers and pods encapsulate containers. A pod may contain one or more containers, storage, IP addresses, and, options that govern how containers should run inside the pod.

A pod that contains one container refers to a single container pod and it is the most common kubernetes use case. A pod that contains Multiple co-related containers refers to a multi-container pod. There are few patterns for multi-container pods one of them is the sidecar container pattern. In this post, we will see this pattern in detail with an example project.

  • What are Sidecar Containers
  • Other Patterns
  • Example Project
  • Test With Deployment Object
  • How to Configure Resource Limits
  • When should we use this pattern
  • Summary
  • Conclusion

What are Sidecar Containers

--

--

Bachina Labs
Bachina Labs

Published in Bachina Labs

Tutorials Ranging from Beginner guides to Advanced | Never Stop Learning

Bhargav Bachina
Bhargav Bachina