Resource Quota Definition: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenShift Concepts =Overview= =Example= <pre> { "apiVersion": "v1", "kind": "ResourceQuota", "metadata": { "na...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* https://docs.openshift.com/container-platform/latest/rest_api/api/v1.ResourceQuota.html
=Internal=
=Internal=


* [[OpenShift Concepts#Resource_Quota|OpenShift Concepts]]
* [[OpenShift Resource Management Concepts#Resource_Quota|OpenShift Resource Management Concepts]]
* [[OpenShift_Configuration#OpenShift_Objects|OpenShift Configuration]]


=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" 
    }
  }
}