planetscale / vitess-operator

Kubernetes Operator for Vitess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pod has unbound immediate PersistentVolumeClaims

fanux opened this issue · comments

commented

So how to create PV for vitess operator, the document Prerequisites not say that..

commented

no persistent volumes available for this claim and no storage class is set.

We recommend running with a dynamic volume provisioner, which is why we don't mention manually creating PVs. If you have a dynamic provisioner but it's not acting on the default Storage Class (or there is no default Storage Class), you can set storageClassName in the dataVolumeClaimTemplate.

If you don't have a dynamic volume provisioner, you can manually provision Persistent Volumes just like you would for any other PVC. The dataVolumeClaimTemplate supports all the fields of a PVC Spec, so you can set it to select the manually-provisioned PVs.

commented

OK, I got it, I think we should add some docs in Prerequisites.