0

I want to cut costs on my development environment. Now my environment works 24 hours, but in fact it is used only a couple of hours a day. I would like to make my environment work only 8 hours a day, and if there are no requests there, it will be minimized to 0 until a request arrives. I would like that when requesting a link to my environment, it would restore work. Tell me how to do this? A general purpose, Scale to Zero component for Kubernetes when in's not using.

3
  • I don't know if it's possible to scale to zero, but a minimum amount (1 node) would be ok? I'm confirming some information and I'll get back to you. Mar 9, 2020 at 10:13
  • Ok, just confirmed, you can't scale GKE to absolute zero, but there is some good alternatives to reduce your costs. First I'd like to clarify one thing, you mentioned "when requesting a link to my environment, it would restore work". What kind of link are you mentioning? if you could clarify your overall need it will be easier to provide an accurate solution. Mar 9, 2020 at 12:25
  • When you scale your deployment to zero pods, you are still using the node because some kube-system namespaced pods will be still running on that node, but I am not sure if you are being billed for that usage Mar 28, 2020 at 12:25

1 Answer 1

0

I found a solution - Osiris (https://github.com/deislabs/osiris). This system scale down all my deployments that not using 1h in my case.

1
  • 1
    I just advice to proceed carefully as the page states Osiris, as a concept, is highly experimental and currently remains under heavy development. I would suggest you to use Google's auto scaler to near zero as it's a more stable solution. Mar 10, 2020 at 10:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .