Changing configuration options for Marathon

444 views Asked by At

I'd like to change set various configuration options for Marathon, and I'm unsure how to do this. For example, I'd like to add --event_subscriber http_callback to the launch command.

2

There are 2 answers

0
Matthew Jones On BEST ANSWER

For each configuration you can create a file in the directory /etc/default/marathon where the filename is the name of the option and a single line in the file containing the value for that option.

Eg. Make a file /etc/default/marathon/event_subscriber that contains the line "http_callback"

This also works for mesos.

1
Alex Bordei On

Actually the directory has to be /etc/marathon/conf. This is valid for 0.11.1.