CHAPTER 4. QUOTAS 6 Across all persistent volume claims in a project, the sum of storage requested in the bronze storage class cannot exceed this value. When this is set to  0 , it means bronze storage class cannot request 7 Across all persistent volume claims in a project, the sum of storage requested in the bronze storage class cannot exceed this value. When this is set to  0 , it means bronze storage class cannot create claims. 4.1.6. Creating a quota You can create a quota to constrain resource usage in a given project. Procedure 4.1.6.1. Creating object count quotas Procedure 1. Define the quota in a file. 2. Use the file to create the quota and apply it to a project: $ oc create -f <file> [-n <project_name>] For example: $ oc create -f core-object-counts.yaml -n demoproject You can create an object count quota for all standard namespaced resource types on OpenShift Container Platform, such as  BuildConfig  and  DeploymentConfig  objects. An object quota count places a defined quota on all standard namespaced resource types. When using a resource quota, an object is charged against the quota upon creation. These types of quotas are useful to protect against exhaustion of resources. The quota can only be created if there are enough spare resources within the project. To configure an object count quota for a resource: 1. Run the following command: 1 The  <resource>  variable is the name of the resource, and  <group>  is the API group, if applicable. Use the  oc api-resources  command for a list of resources and their associated API groups. For example: $ oc create quota test \ -- hard=count/deployments.extensions=2,count/replicasets.extensions=4,count/pods=3,count/secr ets=4 81 $ oc create quota <name> \ --hard=count/<resource>.<group>=<quota>,count/<resource>.<group>=<quota>  1