unixfox / k8s

My personal kubernetes configuration files
11 stars 1 forks source link

autoscaler zero for cluster-api #23

Closed unixfox closed 2 years ago

unixfox commented 3 years ago

autoscaler from/to zero node doesn't work with cluster-api, write a similar autoscaler for that using annotations.

unixfox commented 3 years ago

don't write another autoscaler, just use the default autoscaler but help the default autoscaler by checking if there are pods associated with the specific node. if not then downscale to 0 and for from 0 check if pending pods for specific node, if its the case then upscale the nodes