anchor.diff:  limits
   
   $ oc describe limits limits
  -Name:           limits
  -Type            Resource        Min     Max     Default
  -----            --------        ---     ---     ---
  -Pod             memory          1Mi     1Gi     -
  -Pod             cpu             250m    2       -
  -Container       memory          1Mi     1Gi     1Mi
  -Container       cpu             250m    250m    250m
  +Name:        limits
  +Namespace:   default
  +Type         Resource  Min Max Request Limit Limit/Request
  +----         --------  --- --- ------- ----- -------------
  +Pod          memory    6Mi 1Gi -       -     -
  +Pod          cpu       200m  2 -       -     -
  +Container    cpu       100m  2 200m    300m  10
  +Container    memory    4Mi 1Gi 100Mi   200Mi -
   ----
   ====
   
  
positive.code:     "name": "limits" <1>
    },
    "spec": {
      "limits": [
      {
        "type": "Pod",
        "max": {
          "memory": "1Gi", <2>
          "cpu": "2" <3>
        },
        "min": {
          "memory": "1Mi", <4>
          "cpu": "250m" <5>
        }
      },
      {
        "type": "Container",
        "max": {
          "memory": "1Gi", <6>
          "cpu": "2" <7>
        },
        "min": {
          "memory": "1Mi", <8>
          "cpu": "250m" <9>
        },
        "default": {
          "memory": "1Mi", <10>
          "cpu": "250m" <11>
        }
      }
      ]
    }
  }
  ----
  <1> The name of the limit range document.
  <2> The maximum amount of memory that a pod can consume on a node across all
  containers.
  <3> The maximum amount of cpu that a pod can consume on a node across all
  containers.
  <4> The minimum amount of memory that a pod can consume on a node across all
  containers.
  <5> The minimum amount of cpu that a pod can consume on a node across all
  containers.
  <6> The maximum amount of memory that a single container in a pod can consume.
  <7> The maximum amount of cpu that a single container in a pod can consume.
  <8> The maximum amount of memory that a single container in a pod can consume.
  <9> The maximum amount of cpu that a single container in a pod can consume.
  <10> The default amount of memory that a container will request if not
  specified.
  <11> The default amount of cpu that a container will request if not specified.
  ====
  
  == Creating a Limit Range
  
negative.code: 
  == Overview
  
  A `*LimitRange*` object enumerates compute resource constraints in a link:projects.html[project].
  
  == Constraints
  
  A `*LimitRange*` object enumerates compute resource constraints at a Pod and Container scope in a project.
  
  All resource create and modification requests are evaluated against each `*LimitRange*` object in the project.  If the resource violates any of the enumerated constraints, then the resource is rejected.  If the resource does not set an explicit value, and if the constraint supports a default value, then the default value is
  applied to the resource.
  
  === Container limits
  
  Supported Resources:
  
  1. cpu
  2. memory
  
  Supported Constraints:
  
  Per container, the following must hold true if specified:
  
  .Container
  [cols="3a,8a",options="header"]
  |===
  
  |Constraint |Behavior
  
  |`*Min*`
  |Min[resource] <= container.resources.requests[resource] (required) <= container/resources.limits[resource] (optional)
  
  |`*Max*`
  |container.resources.limits[resource] (required) <= Max[resource]
  
  |`*MaxLimitRequestRatio*`
  |MaxLimitRequestRatio[resource] <= ( container.resources.limits[resource] / container.resources.requests[resource])
  
  |===
  
  Supported defaults:
  
  1. Default[resource] - defaults container.resources.limit[resource] to specified value if none
  2. Default Requests[resource] - defaults container.resources.requests[resource] to specified value if none
  
  === Pod limits
  
  Supported Resources:
  
  1. cpu
  2. memory
  
  Supported Constraints:
  
  Across all containers in a pod, the following must hold true:
  
  .Pod
  [cols="3a,8a",options="header"]
  |===
  
  |Constraint |Behavior
  
  |`*Min*`
  |Min[resource] <= container.resources.requests[resource] (required) <= container/resources.limits[resource] (optional)
  
  |`*Max*`
  |container.resources.limits[resource] (required) <= Max[resource]
  
  |`*MaxLimitRequestRatio*`
  |MaxLimitRequestRatio[resource] <= ( container.resources.limits[resource] / container.resources.requests[resource])
  
  |===
  
  .Limit Range Object Definition
  ====
  
  