<p>I know just the bare minimum of Kubernetes. However, I wanted to know if there would be any benefit in running 2 containers in a single pod:</p>

<ul>
<li>1 Container running the application (e.g. a NodeJS app)</li>
<li>1 Container running the corresponding local database (e.g. a PouchDB database)</li>
</ul>

<p>Would this would increase performance or the down-sides of coupling the two containers would overcome any benefits?</p>

jagueros
<p><a href="https://kubernetes.io/docs/concepts/workloads/pods/pod/" rel="nofollow noreferrer">Pods</a>, are designed to put together containers that share the same lifecyle. Containers inside the same pod, share some namespaces (like networking) and volumes.<br/>
This way, coupling an app with its database could look like a good idea, because the app could just connect to the database through localhost, etc. But it is not! As Diego Velez pointed out, one of the first limitations you could face is scaling your app. If you couple your app with your database, you are forced to scale your database whenever you scale your app, what is not optimal at all and prevents you from benefit of one of the main benefits of using a container orchestrator like kubernetes.<br/>
Some good use cases are:</p>

<ul>
<li>Container with app + container with agent for app metrics, ci agents, etc.</li>
<li>CI/CD container (like jenkins agents) + container(s) with tools for CI/CD.</li>
<li>Container with app + container with proxy (like in istio making use of the sidecar pattern).</li>
</ul>
