Snapshot quota
It is possible to set quota limiting the numbers of snapshots, per project (
ResourceQuota) or per group of projects (
ClusterResourceQuota). To do so, you can define a resource quota (or cluster resource quota), as shown in
Example A-1.
Example A-1 Defining a source quota
$ cat quota-storage-consumption.yaml
apiVersion: v1
kind: ResourceQuota
metadata:
name: storage-consumption
spec:
hard:
count/volumesnapshots.snapshot.storage.k8s.io: ...