title: How can I schedule tasks to CPUs?
body: <p>I have some tasks defined as Docker containers, each one will consume one full CPU whilst it runs.</p>
  
  <p>Id like to run them as cost efficiently as possible so that VMs are only active when the tasks are running.</p>
  
  <p>Whats the best way to do this on Google Cloud Platform?</p>
  
  <p>It seems Kuberenetes and other cluster managers assume you will be running some service, and have spare capacity in your cluster to schedule the containers.</p>
  
  <p>Is there any program or system that I can use to define my tasks, and then start/stop VMs on a schedule to run those tasks?</p>
  
  <p>I think the best way is to just use the GCP/Docker APIs and script it myself?</p>