Reputation: 121
I am using mesos in a distribtued testing system. While I can specify slave/host resources very easily (on a per slave basis), is there a way I can specify a central resource (saucelab connections) in mesos? I am trying to ensure that at any given time, I don't have more than X amount of that central resource used.
Upvotes: 2
Views: 86
Reputation: 484
As mentioned by Adam, there is no such way in Mesos by which you can achieve this requirement directly. However, you can achieve this by writing you own module on top of ZooKeeper.
Keep your central resources metadata on zookeeper.
Your framework scheduler can access this metadata to know available central resources and can take a decision depending on availability of resources.
Upvotes: 0
Reputation: 4322
Short answer: Not yet.
We've discussed the idea of cluster-wide resources before, for NAS/SAN I/O, software licenses, or even a pool of IPs, but we don't have a JIRA for it yet. Like any resource, there are a few aspects to consider:
Upvotes: 3