![]() But now even, I get following error: pod has unbound immediate PersistentVolumeClaims I tried using local volume also but again same error. I got it corrected and now my pvc is shown as bound. What can I check more to get it working? Can it be related to nfs server and path (if by chance, it is mentioned incorrectly), though I see pv created successfully.ĮDIT1: One issue was that accessmode of pvc was different from accessmode of pv. I also tried setting storageclass as "" in pvc and not mention it in pv, but it did not work also. This time, I get below error: no persistent volumes available for this claim and no storage class is set ![]() I tried not giving any storageclass (did not create it) and removed it from pv and pvc both altogether. When I get the pvc events, it shows: Warning ProvisioningFailed 3 s (x 2 over 12 s) persistentvolume-controller no volume plugin matched Now, when I try to deploy it, I get the following error on statefulset: pod has unbound immediate PersistentVolumeClaims Statefuleset has following pvc section defined: volumeClaimTemplates: 85 path: /servers/scratch50g/vishalg/kube My pv, pvc and sc configs are as below: kind: StorageClass apiVersion: /v1 metadata: name: manual provisioner: kubernetes.io/no-provisioner - apiVersion: v1 kind: PersistentVolume metadata: name: nfs-storage-pv spec: capacity: storage: 10Gi accessModes: - ReadWriteMany persistentVolumeReclaimPolicy: Retain storageClassName: manual nfs: server: 172.23. ![]() I am trying to install elastic search cluster with statefulset and nfs persistent volume on bare metal. I know there are lots of discussions round this topic but somehow, I can not get it working. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |