<p>It is mentioned here on how edit <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior" rel="nofollow noreferrer">Support for configurable scaling behavior</a> on how to edit the Autoscaling behaviour. But I cannot find any YAML file to edit or on how to apply the mentioned changes.</p>
<p>I have 3 Kubernetes Environment :</p>
<ul>
<li>Docker Desktop</li>
<li>Baremetal Kubernetes</li>
<li>Rancher</li>
</ul>
<p>May I know how to apply the changes mentioned <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior" rel="nofollow noreferrer">here</a> in the above environments.</p>

Anthony Vinay
<p>Run</p>
<pre><code>kubectl get hpa -n namespace
</code></pre>
<p>This will give you the list of current HPAs in effect</p>
<p>Then use</p>
<pre><code>kubectl -n namespace edit hpa &lt;hpa_name&gt;
</code></pre>
<p>and make the desired changes.</p>
