MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
770 stars 438 forks source link

mariadb-docker with persistence and Kubernetes #395

Closed PPCM closed 3 years ago

PPCM commented 3 years ago

I am deploying mariadb on Kuberntes (K3S in fact), and if a volume is not attached, it works fine, but when I attach a new volume, the init phase goes wrong.

Logs and YAML config files are joined to this issue. It seems initialisation is not the same. Both installation are done from scratch mariadb-volume.yaml.txt mariadb-volume.txt mariadb-novolume.txt mariadb-novolume.yaml.txt

Thanks for your help

PPCM commented 3 years ago

It works fine if the volume is created independantly of the kubernetes deployment