Have NFS configured as Persistent volume in Kubernets. Is there an option to specify entire size of the volume.
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs
spec:
capacity:
storage: 1Mi
accessModes:
- ReadWriteMany
nfs:
server: 10.244.1.4
path: "/exports"
spec.capacity.storage
to the entire size of NFS volume.thanks
Shan, You can specify the size of the entire share in NFS PV. afacit, there is no quota/size check enforced in NFS plugin. Resizing of PV is under development in Kube 1.7 and currently its undergoing design review. Also, you can use GlusterFS as an another option to specify the exact size of the volume and too get dynamically provisioned.