anchor.diff:      resource:
         name: memory <9>
         target:
  -        type: Utilization <10>
  +        type: AverageValue <10>
           averageValue: 500Mi <11>
   ----
   <1> Use the `autoscaling/v2beta2` API.
  
positive.code: <8> Use the `metrics` parameter for memory utilization.
  <9> Specify `memory` for memory utilization.
  <10> Set to `Utilization`.
  <11> Specify `averageUtilization` or `averageValue` and a memory value.
  
  . Create the horizontal pod autoscaler:
  +
  
negative.code:     name: example <5>
    minReplicas: 1 <6>
    maxReplicas: 10 <7>
    metrics: <8>
    - type: Resource
      resource:
        name: memory <9>
        target:
          type: Utilization <10>
          averageUtilization: 50 <11>
  ----
  <1> Use the `autoscaling/v2beta2` API.
  <2> Specify a name for this horizontal pod autoscaler object.
  