<p>I have an application with some endpoints that are quite CPU intensive. Because of that I have configured a Horizontal Pod Autoscaler like this:</p>

<pre><code>spec:
  maxReplicas: 10
  minReplicas: 1
  scaleTargetRef:
    apiVersion: extensions/v1beta1
    kind: DeploymentConfig
    name: some-app
  targetCPUUtilizationPercentage: 30
</code></pre>

<p>The point is, supposing there's a request on a pod that keeps it working at 100% CPU for 5 mins. I takes two minutes until Openshift/Kubernetes schedules new pods.</p>

<p>Is there a way to speed up this process? It forces us to be almost unresponsive for two minutes. </p>

<p>The same thing happens to downscale, having to wait for two minutes until it destroys the unnecessary pods.</p>

<p>Ideally there should be some config option to set this up.</p>

<p>It's not a scalar, you should set it like this</p>
<pre><code>kubernetesMasterConfig:
  controllerArguments:
    horizontal-pod-autoscaler-downscale-delay:
    - 2m0s
    horizontal-pod-autoscaler-upscale-delay:
    - 2m0s
</code></pre>
<p>At least in OpenShift Origin v3.11</p>
