anchor.diff:  kind: "BuildConfig"
   metadata:
     name: "sample-build"
  -spec: 
  -  resources: 
  -    limits: 
  +spec:
  +  resources:
  +    limits:
         cpu: "100m" <1>
         memory: "256Mi" <2>
   ----
  
positive.code: [[build-resources]]
  == Build Resources
  
  A build is completed by a pod that consumes resources (memory and CPU) on a
  node. By default, pods consume unbounded node resources. However, if a project
  specifies default container limits, then pods consume resources up to those
  limits.
  
  You can also limit resource use by specifying resource limits as part of the
  build configuration.
  
  In the following example, each of `*resources*`, `*cpu*`, and `*memory*` is
  optional:
  
  ====
  [source,yaml]
  
negative.code: <2> `*memory*` is in bytes: `256Mi` represents 268435456 bytes (256 * 2 ^ 20).
  ====
  
  However, if a xref:../dev_guide/compute_resources.adoc#dev-quotas[quota] has
  been defined for your project, one of the following two items is required:
  
  - A `*resources*` section set with an explicit `*requests*`:
  +
  