kubernetes persistant volume claim, size is not trully limited

6/3/2019

I am using nfs persistent storage on my kubernetes cluster and I'm trying to limit the size of storage a deployment can get.

basically I want to make sure that if a deployement use a claim of 5 Gb, my container can't create more that 5Gb of file.

Any idea of how I could create this constraint ?

-- Seb
kubernetes

1 Answer

6/3/2019

Its upto the storage backend to force the quota/limit. (Ref)

You may use nfs-provisioner volume plugin to enable per volume quota on NFS pvs (Ref)

-- Ansil
Source: StackOverflow