Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move GPU resource specification to pod hook
This is in the context of providing a dynamic mechanism to check whether a GPU user is a participant of a SWAN event, and if so allocate their session on a certain subset of resources with a configured GPU flavor. With this move, the configuration of the GPU resource requests and limits is done in the modify pod hook. This brings some benefits: we will not need anymore to erase the value of the last resource specification that was done; we can have GPU treatment together with the rest of the computing resources; all the GPU logic can be found in one place.
- Loading branch information