Hi,

I'm aware of mesos' IP-per-container capability and the authors' reasons
for not modeling an IP address as a resource on a host. However, for
operational simplicity, I prefer an implementation that does not interact
with multiple other services (e.g. an IPAM). I'm hence considering the
following approach:

a) Model the IP addresses available on a host as resources.
b) Using the IP address (from the set) accepted by a framework, launch a
task using the docker containerizer, with the IP address selected by the
framework.
c) For tasks that are not resource intensive, fall back on port range
reservation and docker host mode networking.

It appears that Marathon doesn't support arbitrary resources, but Apache
Aurora might(?) . I'd like to know if anyone else has attempted this
approach with either framework, any potential downsides to this approach,
and any alternatives that are similar to this.

Thanks,
Bharath

Reply via email to