Skip to content

Enable GPU limit requests for kubernetes executor

Erik Lindahl requested to merge (removed):extended_resources into main

Status update (2023-01-24)

What does this MR do?

This enables the user to ask for one or more GPUs (or similar resources, from any vendor) in the kubernetes executor. It also builds on the support for resource overwrites in !874 (merged) and extends this to GPUs, since at least for our case we prefer to let the long-running compiles execute on any hosts, after which we ask for a GPU-equipped one for the shorter test execution.

Fixes #3464.

Why was this MR needed?

The default kubernetes executor does not support any GPU resource specification.

Are there points in the code the reviewer needs to double check?

Not specifically in the code, but it might make sense to merge !874 (merged) first (I have posted a link in that discussion that fixes the remaining build issues), after which this change will be much smaller.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Edited by Darren Eastman

Merge request reports