Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Batch Feature Request: Machine Family Specifier

Batch allows the `machine-type` to be specified, which is very helpful and allows putting task on a specific machine type like `n2-standard-8`.

Without this flag Batch seems to schedule on machines based on task cpu/mem requirements which is great.

It would be really helpful for us to be able to specify that tasks run a machine family. For example If `N2` could be specified, such that batch packs tasks onto any machine types it can for those families, resulting in tasks packed onto N2 machines of any kind based on based on cpu/mem requirements.

Solved Solved
1 2 184
1 ACCEPTED SOLUTION

Thanks for the filing the feature requests. We are planning to make machine type flexibility better soon.  Instead of just giving a machine family, would you rather give a list of machine types so that you have better control over large vs small machines? 

View solution in original post

2 REPLIES 2

Thanks for the filing the feature requests. We are planning to make machine type flexibility better soon.  Instead of just giving a machine family, would you rather give a list of machine types so that you have better control over large vs small machines? 

Yeah, that's probably even better.