Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 413 Bytes
# https://kubernetes.io/docs/tasks/administer-cluster/limit-storage-consumption/
# In this example, a PVC requesting 10Gi of storage would be rejected because it exceeds the 2Gi max.
# https://cheatsheet.dennyzhang.com/kubernetes-yaml-templates
apiVersion: v1
kind: LimitRange
metadata:
name: storagelimits
spec:
limits:
- type: PersistentVolumeClaim
max:
storage: 2Gi
min:
storage: 1Gi