I'm interested in having my mesos-slave instances inherit attributes from the EC2 tags that the slave is running on. After some searching, I don't think such a setup exists. I would like to write one and contribute it back to the community.
Our slaves are running Ubuntu and we're using the mesos packages from the mesosphere repo. This creates a beautiful mesos-init-wrapper that allows mesos configuration (command line arguments) to be represented as files in /etc/mesos-slave/
or /etc/mesos/
. I want to write a script which will:
[/etc/mesos/attributes/][3]
Mesos community folks: is this the right way to go? Is it reasonable to build an implementation that is tied to mesos-init-wrapper
?
Thanks!
Advait
mesos-aws-tags
is now available here: https://github.com/goguardian/mesos-aws-tags