Running MySQL with kubernetes volumes

When you attach kubernetes volumes to mysql images, consider to ignore lost+found.

MySQL refuses to initialize non-empty datadirs, so any newly formatted ext4 filesystem doesn’t suit the task.

name: mysql
image: mysql:5.7
args:
  - "--ignore-db-dir=lost+found"

Lascia un commento