<p>Good afternoon!</p>
<p>I am relatively new to Kubernetes. I would like to ask for your help in knowledge! What is the best way to deploy Postgresql or MySql in kubernetes for production? Suggest articles or resources, I would be very grateful.</p>
<p>I only see examples and information on how to deploy Postgresql dev, very little information on how to set up a production environment. Thank you!!!</p>

MiyRon
<p>We have been running multiple databases on K8s like Elasticsearch, Redis some message brokers so it you can definitely run on Production.</p>
<p>Now i would suggest going with the Operator managed <strong>Database deployment</strong>. As on Production, you might be expecting an <strong>HA</strong>, data replication which you won't be having an idea in depth. <strong>Operator</strong> manages the <strong>deployment</strong> in simple words and do the operation as need.</p>
<p><a href="https://postgres-operator.readthedocs.io/en/latest/" rel="nofollow noreferrer">Here</a> is the document to follow for <strong>postgres</strong> operator is has the details on how <strong>CRD</strong>, <strong>stateful sets</strong> volume work together.</p>
<p>Zalando postgres-operator : <a href="https://github.com/zalando/postgres-operator" rel="nofollow noreferrer">https://github.com/zalando/postgres-operator</a></p>
<p>Comparision between available operator : <a href="https://blog.palark.com/comparing-kubernetes-operators-for-postgresql/" rel="nofollow noreferrer">https://blog.palark.com/comparing-kubernetes-operators-for-postgresql/</a></p>
