<p>This must sound like a real noob question. I have a cluster-autoscaler and cluster overprovisioner set up in my k8s cluster (via helm). I want to see the auto-scaler and overprovisioner actually kick in. I am not able to find any leads on how to accomplish this. </p>

<p>does anyone have any ideas?</p>

Abby
<p>You can create a Deployment that runs a container with <a href="https://stackoverflow.com/questions/2925606/how-to-create-a-cpu-spike-with-a-bash-command">a CPU intensive task</a>. Set it initially to a small number of replicas (perhaps &lt; 10) and start increasing the replicas number with:</p>

<p><code>kubectl scale --replicas=11 your-deployment</code></p>

<hr>

<p><strong>Edit:</strong>
How to tell the Cluster Autoscaler has kicked in?</p>

<p>There are <a href="https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-can-i-check-what-is-going-on-in-ca-" rel="nofollow noreferrer">three ways</a> you can determine what the CA is doing. By watching the CA pods' logs, checking the content of the <code>kube-system/cluster-autoscaler-status</code> ConfigMap or <a href="https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-events-are-emitted-by-ca" rel="nofollow noreferrer">via Events</a>.</p>
