<p>I have an application prepared in PHP/JS using a MySQL database.
Can I convert my application and database into images executable in a Kubernetes cluster?</p>

Muhammad Khan
<p>Yes. You should be able to convert your application into one docker image and your database into another docker image. Then create a Kubernetes deployment file (YAML) with two services...one being DB and the other being App with the App depending on the DB service.</p>

<p>See this <a href="https://github.com/dockersamples/k8s-wordsmith-demo" rel="nofollow noreferrer">link</a> for a sample (though not in php)</p>
