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.
1 Answer
I found a solution - Osiris (https://github.com/deislabs/osiris). This system scale down all my deployments that not using 1h in my case.
-
1I 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
kube-system
namespaced pods will be still running on that node, but I am not sure if you are being billed for that usage