There is a ticket [Allow slave reconfiguration on restart]( https://issues.apache.org/jira/browse/MESOS-1739) related to this and not implement yet. But your requirement seems not related to change resources of agent dynamically. It looks more like change labels/attributes dynamically of agent.
On Wed, Apr 20, 2016 at 4:56 PM, Aaron Carey <aca...@ilm.com> wrote: > Hi All, > > I was wondering if it was possible somehow to alter an agent's resources > after it has started? > > Example: we are dynamically attaching and detaching EBS volumes to EC2 > hosts running as agents. (This is part of our docker volume setup using > RexRay). When a host has an EBS volume attached to it I'd like to be able > to mark that as a new resource on the agent. Note that it's not the disk > space we care about here, just the name of the volume itself. This would > then allow us to schedule tasks that require access to the data on that EBS > volume all on the same host. > > Anyone have any ideas? > > Thanks! > > Aaron > -- Best Regards, Haosdent Huang