Understanding why nvidia.com/gpu.shared
is not decremented under a node's status.allocatable
upon scheduling
#842
-
I'm curious to understand why a Node's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 over time). Whereas status.allocatable only shows those devices that are healthy now and could be allocated at some point now or in the future (at least until they possibly go unhealthy at some point). |
Beta Was this translation helpful? Give feedback.
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…