Resource Quota Definition: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 9: Line 9:


=Overview=
=Overview=
For more details about resource quotas, see: {{Internal|OpenShift Resource Management Concepts#Quota|Quotas}}


=Example=
=Example=

Latest revision as of 17:49, 1 February 2018

External

Internal

Overview

For more details about resource quotas, see:

Quotas

Example

{
  "apiVersion": "v1",
  "kind": "ResourceQuota",
  "metadata": {
    "name": "quota" 
  },
  "spec": {
    "hard": {
      "memory": "1Gi", 
      "cpu": "20", 
      "pods": "10", 
      "services": "5", 
      "replicationcontrollers":"5", 
      "resourcequotas":"1" 
    }
  }
}