mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
This change removes the hard-link from templates to worker pools, allowing pools to be selected using k8s labels. Both actors and actor templates are augmented with a label selector field. When an actor is resumed, we resolve the set of *eligible* worker pools by evaluating the intersection of both actor and template selectors. Then we find a free worker from one of them. The overall design is described in [1]. [1]: https://github.com/agent-substrate/substrate/issues/47#issuecomment-4712334620