Static reservation feature will help; but there's a limitation that
Marathon can only manage resources from one role.
For example, if we use static reservation for two resources group "master"
(--resources="cpus(master):16") & "agent" (--resources="cpus(agent):16"),
Marathon (--mesos_roles="master"
You can use static reservation to make your marathon framework running on a
specified node, the steps are as following, 0.24 do not support implicit
role, so you need to restart master to add role flags.
1) Restart mesos master with role flags, such as --roles=marathon
2) Start up agent on master
I've got a custom framework running in mesos (0.24.1 for now). It supports
failover and I'd like to be able to start the framework daemons (scheduler,
etc.) from Marathon so I can automatically handle scaling and restart. I'm
running a small cluster where the mesos master is also the primary mas
3 matches
Mail list logo