The external resource documentation <https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/advanced/external_resources> should contain instructions to do so.

On 10/11/2021 09:18, Morten Gunnar Bjørner Lindeberg wrote:
Hi :)

I am trying the fine-grained resource management feature in Flink 1.14, hoping 
it can enable assigning certain operators to certain TaskManagers.

The sample code 
inhttps://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/finegrained_resource/
  -shows how to define the group and its resource (e.g. using setExternalResource-method), but 
I do not see any option to "assign" a TaskManager worker instance with the 
capabilities of this "external resource”.

Following the GPU-based example in the documentation, how can I ensure that Flink 
"knows" which task manager actually has the required GPU? Is there some 
configuration option I am missing / missing in the documentation?

Have a nice day!
Morten Lindeberg
PostDoc Informatics, University of Oslo
mglin...@ifi.uio.no

Reply via email to