How Common Are Multi-Container Pods in Your Experience?
Asked by
Rutabaga
I'm really curious about how prevalent multi-container pods are in your workflows since I haven't encountered them much myself. Do you guys often utilize setups with multiple containers? What are some examples or use cases?
Answers
We leverage multi-container pods a lot! Theyโre helpful for various tasks, like using sidecars to export logs, and init containers to run prep tasks. Honestly, I canโt imagine working in Kubernetes without them.
Reply to this answer
Absolutely, multi-container pods are quite common these days! People often use init containers for preparation and sidecars for additional functionalities. For instance, I frequently employ OAuth2-Proxy as a sidecar in my setups.
Reply to this answer
Iโve noticed that a significant number of applications utilize init containers, even if users aren't always aware of it. They typically run tasks to set up the environment before the main application starts. My experience shows that about half of the workloads I manage are multi-container.
Reply to this answer
Using multi-container setups can definitely help in scaling and efficiency for many projects. But I've heard people express concerns about it becoming overly complex if not managed properly.
Reply to this answer
For us, multi-container pods are essential, especially for maintaining and scaling services. For example, we've run up to 40 sidecars with a Prometheus pod to monitor different hosts. It can get a bit crazy, but it works!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions