POD not running with error CSI driver

Posted May 6, 2021 110 views
Linux BasicsDockerKubernetes

hello previously my MySQL pod stuck at terminating status, and then I tried to force delete using command like this

kubectl delete pods <pod> –grace-period=0 –force

Later I tried to helm upgrade again, my pod was stuck at containercreating status, and this event from pod

Warning FailedMount pod/db-mysql-primary-0 MountVolume.SetUp failed for volume “pvc-f32a6f84-d897-4e35-9595-680302771c54” : mount
er.SetUpAt failed to check for STAGEUNSTAGEVOLUME capability: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial unix
/var/lib/kubelet/plugins/ connect: no such file or directory”

anyone please can help me to resolve this issue, thanks a lot.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

@taupiknr26 What steps and/or tutorials did you follow to deploy MySQL here on your Kubernetes cluster? In general, I recommend using the Butnami MySQL Helm chart or Oracle MySQL Kubernetes operator.

Think different and code well,