View how many jobs are on a given VM when using Google Cloud batch?

Is there a way to see which jobs have been assigned to a VM? I want to guarantee that each of my VMs is running at most one job. I'm pretty sure I've set it up correctly (job memory and cpu limits = the specs for a single VM), but I'd like to confirm.

Solved Solved
2 1 158
1 ACCEPTED SOLUTION

Hi @vedantroy-genmo - Batch will only run one job per VM. If the job has multiple tasks, then multiple of that job's tasks can run on a single VM. If you only want to run one task on a VM you can set the taskCountPerNode flag.

View solution in original post

1 REPLY 1

Hi @vedantroy-genmo - Batch will only run one job per VM. If the job has multiple tasks, then multiple of that job's tasks can run on a single VM. If you only want to run one task on a VM you can set the taskCountPerNode flag.