Deploying a functional database in a containerized environment can be a demanding task. This article will show you how to deploy a MySQL database instance on Kubernetes using persistent volumes, the feature that enables stateful apps to overcome the problem of the inherent transience of the K8s pods.