問題文
A developer wants a container in the orchestration cluster to receive one accelerator. A colleague suggests adding a selector for the node label that names the accelerator model instead of requesting a resource. What is wrong with the suggestion?
選択肢
- A selector is evaluated after the resource request, so the two must always be given together and the request has to name the model as well, otherwise the scheduler cannot decide which of the eligible nodes to use.
- Labels that describe hardware are attached by hand and therefore cannot be used in a selector at all; a selector matches only the labels an administrator has typed into the node object.
- A selector prevents the container from starting unless every node carries the label.
- A selector only narrows which nodes are eligible; without a resource request the scheduler does not reserve a device and two containers can land on the same one.