<p>Is it possible to use docker-compose MySQL + spring boot container on Kubernetes instead of creating two pods for MySQL and spring application? If so how?</p>

Heshan Andrews
<p>Yes, Its possible. You can create a tightly coupled pod with one container which contains MySQL and spring boot application in it, Or you can run two separate containers in single pod as <a href="https://kubernetes.io/docs/concepts/workloads/pods/" rel="nofollow noreferrer">Sidecar</a>.</p>
<p>If you have docker-compose file, just convert it into kubernetes manifest file using <a href="https://kompose.io/" rel="nofollow noreferrer">Kompose</a></p>
<p>Once your docker-compose file is converted into k8 yaml manifest. you can deploy it easily.</p>
