...
Code Block | ||||
---|---|---|---|---|
| ||||
apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: tenantresourcequota.tenants.k8s.io spec: group: tenants.k8s.io versions: - name: v1alpha1 served: true storage: true scope: Cluster names: plural: tenantresourcequotas singular: tenantresourcequota kind: TenantResourcequota shortNames: - trq |
Before jumping into the definition of the tenant resource quota, refer Kubernetes resource quota - https://kubernetes.io/docs/concepts/policy/resource-quotas/ for more understanding on the resource quota
And tenant resource quota schema should be like this below