Skip to content

Understanding why nvidia.com/gpu.shared is not decremented under a node's status.allocatable upon scheduling #842

Answered by klueska
chipzoller asked this question in Q&A
Discussion options

You must be logged in to vote

status.allocatable is never decremented as resources get allocated for any extended resource type. This is independent of gpu.shared resources, as it is true for every extended resource.

This is a property of Kubernetes itself and not something under the control of individual device plugins.

The intent of status.allocatable is not to show the "real time" number of resources that can be Allocatable, but rather the total jumper of resources that could be allocated (independent of if they currently are or not).

This is different than status.capacity which shows the total number of devices that have ever been available for a given resource type (including those that may have gone unhealthy ov…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chipzoller
Comment options

Answer selected by chipzoller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants