For those interested, Kubernetes has an official tutorial about this: <a href="https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/" rel="nofollow">https://kubernetes.io/docs/tutorials/stateful-application/my...</a><p>So does Google Container Engine: <a href="https://cloud.google.com/container-engine/docs/tutorials/persistent-disk" rel="nofollow">https://cloud.google.com/container-engine/docs/tutorials/per...</a>