[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PVs based on NFS: Is their size unlimited by default?

The attributes (like capacity) on a PV are descriptors for the volume, not constraints.  Admins use that field to describe how much a volume can hold.  It is currently left to the infrastructure provider to enforce capacity constraints, such as AWS limiting the size of an EBS volume.  For NFS, we've encouraged use of disk partitions to enforce quota until OpenShift itself has a means to enforce this.


On Fri, Nov 27, 2015 at 5:58 AM, v <vekt0r7 gmx net> wrote:

I have created a PV (1Gi) and a PVC (1Gi) and I've changed my DeploymentConfig to give my Pod an access to the share by assigning him the PVC.

I expected that the pod would only be able to write up to 1Gi onto that share, but apparently OpenShift doesn't limit how much the pod is allowed to write. The pod could in theory fill up the whole harddisk where the NFS share lies that he is accessing.

Is that the intended behavior?


users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]