How to deploy mysql galera

I have a question,how to use rancher 2.0 deploy mysql or mariadb galera? i want mount the data and my.cnf to local HDD

I have a question,how to use rancher 2.0 deploy mysql or mariadb galera? i want mont the data and my.cnf to local HDD

Short answer, if you are using the user interface: in the Volumes section of the deployment screen, add a volume and select Bind-mount a directory from the node.

A better way to do this however, is to create a persistent volume object and then claim it. How that all works is a longer answer which right this minute I don’t have time to write…