<p>I want to deploy a front-end pod which is connected to backend pod( having mysql in it) and  store the data into persistent volume.</p>

Sujeet Jha
<p>Check the <a href="https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/" rel="nofollow noreferrer">guide</a> on deploying wordpress and connecting to mysql with persistent volume.</p>
