b. List the project’s resource quotas: 

c. Describe the resource quota in detail: 

$ oc get resourcequotas 

$ oc describe resourcequotas <resource_quota_name> 

## 4.2. RESOURCE QUOTAS ACROSS MULTIPLE PROJECTS 

A multi-project quota, defined by a ClusterResourceQuota  object, allows quotas to be shared across multiple projects. Resources used in each selected project are aggregated and that aggregate is used to limit resources across all the selected projects. 

This guide describes how cluster administrators can set and manage resource quotas across multiple projects. 

## 4.2.1. Selecting multiple projects during quota creation 

When creating quotas, you can select multiple projects based on annotation selection, label selection, or both. 

## Procedure 

1. To select projects based on annotations, run the following command: 

$ oc create clusterquota for-user \ --project-annotation-selector openshift.io/requester=<user_name> \ --hard pods=10 \ --hard secrets=20 

This creates the following ClusterResourceQuota  object: 

apiVersion: v1 kind: ClusterResourceQuota metadata: name: for-user spec: quota: 1 hard: pods: "10" secrets: "20" selector: annotations: 2 openshift.io/requester: <user_name > labels: null 3 status: namespaces: 4 - namespace: ns-one status: hard: pods: "10" secrets: "20" 

