Make GPU plugin / resource label limitations more explicit

While the labeling limit is obvious after little thought, IMHO
limitations like this should either be stated out front, or be in
their own section in the README.  Commit does former for the GPU
plugin fractional resources, and latter for the NFD hook / labeling.
This commit is contained in:
Eero Tamminen 2022-01-03 19:05:06 +02:00
parent 70aa91dc8c
commit 36046d90a4
2 changed files with 5 additions and 0 deletions

View File

@ -50,4 +50,6 @@ name | type | description|
|`gpu.intel.com/platform_<PLATFORM_NAME>.tiles`| number | GPU tile count in the GPUs of the named platform.
|`gpu.intel.com/platform_<PLATFORM_NAME>.present`| string | "true" for indicating the presense of the GPU platform.
## Limitations
For the above to work as intended, GPUs on the same node must be identical in their capabilities.

View File

@ -138,6 +138,9 @@ With the experimental fractional resource feature you can use additional kuberne
resources, such as GPU memory, which can then be consumed by deployments. PODs will then only
deploy to nodes where there are sufficient amounts of the extended resources for the containers.
(For this to work properly, all GPUs in a given node should provide equal amount of resources
i.e. heteregenous GPU nodes are not supported.)
Enabling the fractional resource feature isn't quite as simple as just enabling the related
command line flag. The DaemonSet needs additional RBAC-permissions
and access to the kubelet podresources gRPC service, plus there are other dependencies to