Skip to Main Content
Learn Apache Mesos
book

Learn Apache Mesos

by Manuj Aggarwal
October 2018
Intermediate to advanced content levelIntermediate to advanced
248 pages
4h 46m
English
Packt Publishing
Content preview from Learn Apache Mesos

Configuring Marathon

Marathon is a control system that can be used in Docker or in cgroups containers, and is cluster wide. It is a framework for Apache Mesos that helps you manage tasks through RESTful APIs.

Let's go back to the Marathon tab and follow these steps:

  1. Add a secret to the marathon file:
$ cd /etc/marathon 
  1. Go inside /etc/default and:
$ sudo touch mesos_authentication_secret 
$ sudo vi mesos 
  1. Insert marathon1_secret, save the file, and exit using :wq!
  2. Inform Marathon about the location of the credential file in the marathon1 tab:
$ sudo mkdir conf 
$ sudo cd conf 
$ sudo touch mesos_authentication_secret_file 
$ ll /etc/default/mesos 
$ ll /etc/default/mesos_authentication_secret 
  1. You will get a path, /etc/default/mesos_authentication_secret ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mesos in Action

Mesos in Action

Roger Ignazio
SELinux

SELinux

Bill McCarty
Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Apache Cookbook, 2nd Edition

Apache Cookbook, 2nd Edition

Rich Bowen, Ken Coar

Publisher Resources

ISBN: 9781789137385Supplemental Content