...
And the example Tenant resource quota should be like this.
Code Block | ||||
---|---|---|---|---|
| ||||
---
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"
]
--- |