0

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.

does anyone have any ideas?

crenshaw-dev
  • 7,504
  • 3
  • 45
  • 81
Abby
  • 105
  • 1
  • 1
  • 10

1 Answers1

3

You can create a Deployment that runs a container with a CPU intensive task. Set it initially to a small number of replicas (perhaps < 10) and start increasing the replicas number with:

kubectl scale --replicas=11 your-deployment


Edit: How to tell the Cluster Autoscaler has kicked in?

There are three ways you can determine what the CA is doing. By watching the CA pods' logs, checking the content of the kube-system/cluster-autoscaler-status ConfigMap or via Events.

davidmontoyago
  • 1,834
  • 14
  • 18
  • I kind of meant like how would I verify that autoscaler and op have kicked in. apologies for not being clear – Abby Mar 25 '20 at 01:38