Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Kubernetes autoscaler min of 0?
I have workloads that are intermittent and heterogeneous. Sometimes a k8s job will be scheduled to run on a pod that needs 400m memory, another time it’ll be a job that requires 24g of memory. What I want to have happen is for the autoscaler to automatically spin up a droplet (node) that’ll be able to run that pod.
Most of the time there’ll be no jobs, so it doesn’t make sense to have nodes running at those times.
It’s fine if takes a minute or two for a node to come up for the job to run.
It’s fine if the node stays up for some minimum amount of time before it shuts off (e.g. an hour).
Is there anyway to have the autoscaler scale a node group to 0?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×