You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2020. It is now read-only.
$ kubectl get pvc myclaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
myclaim Bound pvc-6ef8eda2-efb5-11e9-9bef-005056bd0410 1Gi RWO nfs-client 8s
$ kubectl describe pvc myclaim
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 61s cluster.local/nfs-client-provisioner_nfs-client-provisioner-58487c669c-jjqpq_a9da7c7e-ec08-11e9-9af1-2228a80fe4ad External provisioner is provisioning volume for claim "default/myclaim"
Normal ExternalProvisioning 61s (x2 over 61s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "cluster.local/nfs-client-provisioner" or manually created by system administrator
Normal ProvisioningSucceeded 61s cluster.local/nfs-client-provisioner_nfs-client-provisioner-58487c669c-jjqpq_a9da7c7e-ec08-11e9-9af1-2228a80fe4ad Successfully provisioned volume pvc-6ef8eda2-efb5-11e9-9bef-005056bd0410
$ kubectl get pvc myclaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
myclaim Bound pvc-6ef8eda2-efb5-11e9-9bef-005056bd0410 1Gi RWO nfs-client 2m37s
Check the events:
$ kubectl describe pvc myclaim
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 4m14s cluster.local/nfs-client-provisioner_nfs-client-provisioner-58487c669c-jjqpq_a9da7c7e-ec08-11e9-9af1-2228a80fe4ad External provisioner is provisioning volume for claim "default/myclaim"
Normal ExternalProvisioning 4m14s (x2 over 4m14s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "cluster.local/nfs-client-provisioner" or manually created by system administrator
Normal ProvisioningSucceeded 4m14s cluster.local/nfs-client-provisioner_nfs-client-provisioner-58487c669c-jjqpq_a9da7c7e-ec08-11e9-9af1-2228a80fe4ad Successfully provisioned volume pvc-6ef8eda2-efb5-11e9-9bef-005056bd0410
Warning ExternalExpanding 19s volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
Yes, the nfs-client-provisioner is not capable of expanding volumes. In fact, it does not enforce the size of volumes at all, so a PV that says 1Gi may in fact have contain/write more than 1Gi of data in its path. AFAIK, there is no standard quota/limit mechanism for NFS. Apologies if this is not clear.
Trying to expand a PVC got warning:
Create a PVC of 1Gi size:
Check that pvc, it's successfully bound:
Try to expand PVC to size of 2Gi:
Check it, and it's still size of 1Gi:
Check the events:
BTW Storage class enabled expansion:
The text was updated successfully, but these errors were encountered: