anchor.diff:  <7> The percentage of the requested CPU that each pod should ideally be using
   ====
   
  -== Create a Horizontal Pod Autoscaler
  +Save your definition to a file, such as *_scaler.yaml_*, then use the CLI to
  +create the object:
   
  -To create a horizontal pod autoscaler:
  -
  +====
   ----
   $ oc create -f scaler.yaml
   ----
  +====
   
  -== View a Horizontal Pod Autocaler
  +[[viewing-a-hpa]]
  +== Viewing a Horizontal Pod Autocaler
   
   To view the status of a horizontal pod autoscaler:
   
  +====
   ----
   $ oc get hpa
   NAME              REFERENCE                                 TARGET    CURRENT   MINPODS        MAXPODS   AGE
   frontend-scaler   DeploymentConfig/default/frontend/scale   80%       79%       1              10        8d
  +
   $ oc describe hpa frontend-scaler
   Name:                           frontend-scaler
   Namespace:                      default
  
positive.code: |Percentage of the link:../dev_guide/compute_resources.html#cpu-requests[requested CPU]
  |===
  
  == Scaling
  
  Once a *HorizontalPodAutoscaler* is created, it will begin attempting to query
  Heapster for metrics on the pods.  It may take 1-2 minutes before Heapster obtains
  the initial metrics.  Once metrics are available in heapster, the *HorizontalPodAutoscaler*
  will compute the ratio of the current metric utilization with the desired metric utilization,
  and scale up or down accordingly.  The scaling will occur at a regular interval, but it may take
  1-2 minutes before metrics make their way into Heapster.
  
  For *ReplicationControllers*, this scaling corresponds directly to the replicas of the
  *ReplicationController*.  For *DeploymentConfigs*, this will scale the latest deployment,
  or, if no deployment is present, the *ReplicationController* template in the *DeploymentConfig*
  (note that scaling will occur if the latest deployment is marked as `Complete`).
  
  == Sample Horizontal Pod Autoscaler File
  
  .scaler.yaml
  ====
  [source,yaml,options="nowrap"]
  ----
  
negative.code: Min pods:                       1
  Max pods:                       10
  ----
  ====
  