Kubernetes: shutdown node between jobs runs

1/2/2018

I run a Kubernetes CronJob every week, on a Kubernetes cluster that have a single node in it. It runs on Google Compute Engine.

I would like to shutdown the node completely between two jobs, for billing purposes (we pay the price as if the machine was used for the whole week but it is actually useful a few hours)

Is it possible boot the node, run the job, then shutdown the node?

-- Aymeric 'Bebert'
cron
kubernetes
shutdown

1 Answer

1/2/2018
-- jaxxstorm
Source: StackOverflow