RocksLabs / kvrocks-operator

Apache License 2.0
36 stars 15 forks source link

fix: use the default storageclass when the storageclass is nil #34

Closed jiayouxujin closed 1 year ago

jiayouxujin commented 1 year ago

Hi, This pr is for pvc. In the current version, we use emptyDir when the storageClass is nil. However, this is not suitable for kvrocks. Therefore, we can substitute emptyDir with the default storageClass.

Note: if you use the minikube as your local kubernetes cluster (+2 nodes), you should refer this issue for more detail.

ColinChamber commented 1 year ago

I suppose that 200Mi is too small, so I have changed the default value to 10Gi. @jiayouxujin