Home > Software engineering >  MySQL statefulset with persistent storage on minikube
MySQL statefulset with persistent storage on minikube

Time:01-26

I am trying to have a scalable mysql DB whith persistent memory. I thought it was something common, but it seems like online no one really explains it. I am using minikube for my single node cluster. I started off from the kubernetes guide on unbound pending

Although in the persistent volumes section I can see my volume has been claimed: claimed pv

I must have understood something wrong and there must be a logic error in all of this, but I can't figure out what it is. Any help would be extremely appreciated.

CodePudding user response:

The storage size of PV and the requested PVC is not matching. You created the PV of size 5Gi and you are requesting for 1Gi using the PVC.

  •  Tags:  
  • Related