Home > Storage > Data Storage Essentials > Storage Automation Software > Persistent Storage for Containerized Applications on Kubernetes with PowerMax SAN Storage > Quota per Persistent Volume
As described in the official Kubernetes documentation, PVs are resources in the cluster, and PVCs are requests for those resources and act as claim checks to the resource. Thus, within the Pod definition the PersistentVolumeClaim is just a request, and it is fulfilled only if a PersistentVolume that satisfies the requirement is available.
LimitRange sets at the namespace level minimum and maximum storage request sizes. It prevents a Pod from bloating all the storage resources and affecting future claims.
cat <<EOF > limit-pvc.yaml
apiVersion: v1
kind: LimitRange
metadata:
name: storagelimits
spec:
limits:
- type: PersistentVolumeClaim
max:
storage: 100Gi
min:
storage: 8Gi
EOF
kubectl create -f ./limit-pvc.yaml --namespace=test
Note: Certain Kubernetes distributions, such as Rancher, allow you to set LimitRange by default for any new namespace.