Running Pods 9-5


#1

Hi
I only want to run my application 9-5 - is this possible? All the documentation I have been through so far assumes the application is always on
Thanks


#2

You must schedule yourself (using kubernetes cronjobs or something external) to delete/start your deployment.

Another option might be using the autoscaler. But never used it, not sure if you can scale to 0 nodes (or you need just one all from 9-5 and all others running?) And not sure you can scale using date/time. But might be worth looking :slight_smile:


#3

Thanks man - i’d like to run the same application on numerous nodes on a 9-5 schedule :slight_smile:
Will take a look at cronjobs!