GKE – Why have more than one container per pod?

Say you have a Web Server that you need containerized. Part of that server services requests that are long running task (most likely run by a background process).

It would make sense to have the background process run as a service on a different VM (node); however, both VMs would need the same configMap and the same underlying storage.

This is the perfect use case for a single pod hosting multiple containers (containerized VM nodes).

anuj

I am passionate about getting cloud solutions right the first time. I help customers transition to the public cloud with the appropriate security controls and guardrails. GCP, AWS and Azure Security Specialist. <a href="https://calendly.com/anujvarma/google-cloud-architect-initial-consultation">Initial Consultation</a>

Leave a reply

Your email address will not be published. Required fields are marked *