I’m doing some experiment with MicroK8s on both Ubuntu and Centos systems.
Using MicroK8s version 1.8.9, on both machines I’ve also installed Docker CE 19. Docker daemon is up and running.
I’ve tried to create a deployment following exactly the example described here:
When i create the deployment everything goes right - i can access MySql instance without any issue; when I reboot the Centos machine, I noticed that MicroK8s kills and restarts MySql container continuously until the pod is set to crashloopbackoff state. The main reason I can see in the logs is reported in the subject of this post, i.e InnoDB: Unable to lock ./ibdata1, error: 11.
I can’t really what I’m missing or what’s wrong - the deployment.yaml is the same, and on Ubuntu machine this issue doesn’t occur.
Any hint or clue ?
Thanks in advance !