Long story short, I have a Mac Catalyst app I need to orchestrate. By definition, you can’t run multiple instances of an app with the same bundle ID in parallel, so I built it 10 times with different IDs. This works.
I have a bunch of jobs that are to use these instances of the application. Ideally, a Nomad plugin would:
- Detect if any app instances are available on a machine (just like any other resource).
- Assign one instance to a job when it is executed (by an ID, for example).
To my understanding, this is effectively the same pattern as handling the assignation of physical devices that happens with GPUs, so I should technically be able to implement something similar using the Device Plugin API.
I’m interested in hearing some thoughts on this. Does this use case make sense, or am I getting on a dead end?