---
apiVersion: tenants.k8s.io/v1alpha1
kind: TenantResourcequota
metadata:
name: Tenant-a-resource-quota
spec:
hard:
cpu: "400"
memory: 1000Gi
pods: "500"
requests.dummy/dummyResource: 100
scopeSelector:
matchExpressions:
- operator : In
scopeName: Class
values: ["common"]
userResourcequota:[
"silver-pool-resourcequota",
"gold-pool-resourcequota",
"vfirewall-pool-resourcequota"
]
---
apiVersion: v1
kind: ResourceQuota
metadata:
name: silver-pool-resourcequota
namespace: tenant-a-ns-2
spec:
hard:
limits.cpu: "100"
limits.memory: 250Gi
pod: 100
requests.dummy/dummyResource: 25
--- |