Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 391 Bytes
# https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/
# In this example, a 6th PVC in the namespace would be rejected because it exceeds the maximum count of 5.
# https://cheatsheet.dennyzhang.com/kubernetes-yaml-templates
apiVersion: v1
kind: ResourceQuota
metadata:
name: storagequota
spec:
hard:
persistentvolumeclaims: "5"
requests.storage: "5Gi"
You can’t perform that action at this time.