marathon job from mesos/1
Github source:
d07b570b or
master branch
Properties¶
marathon¶
enable_checkpoint¶Enable checkpointing of tasks
- Default
true
enable_ha¶Enable running Marathon in HA mode with leader election
- Default
true
failover_timeout¶The failover_timeout for Apache Mesos in seconds
- Default
604800
group¶Group which will own the Marathon services
- Default
vcap
http_credentials¶Credentials for accessing the Marathon http service (username:password format)
- Default
marathon:marathon
http_port¶The port Marathon will listen on for HTTP requests
- Default
80
https_port¶The port Marathon will listen on for HTTPS requests
- Default
443
java_heap_size¶Java Heap Size for Marathon
- Default
512m
local_port_max¶Max port number to use when Marathon assigns ports to apps
- Default
20000
local_port_min¶Min port number to use when Marathon assigns ports to apps
- Default
10000
mesos_role¶Mesos role for this framework
- Default
'*'
reconciliation_frequency¶This is the length of time, in milliseconds, between task reconciliation operations
- Default
30000
reconciliation_initial_delay¶This is the length of time, in milliseconds, before Marathon begins to periodically perform task reconciliation operations
- Default
30000
task_launch_timeout¶Time, in milliseconds, to wait for a task to enter the TASK_RUNNING state before killing it
- Default
60000
task_rate_limit¶This is the time window within which instances may be launched for a given app
- Default
60000
user¶User which will own the Marathon services
- Default
root
zk_state¶Path in ZooKeeper for storing Marathon state
- Default
marathon
zk_timeout¶The timeout for ZooKeeper in milliseconds
- Default
10000
mesos¶
zk_state¶Path in ZooKeeper for storing Apache Mesos state
- Default
mesos
zookeeper¶
client_port¶Port at which the clients will connect to Apache Zookeeper
- Default
2181
servers¶List of all Apache Zookeeper server host IP/hostnames
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/marathon/ directory
(learn more).
bin/job_properties.sh(frombin/job_properties.sh.erb)bin/marathon_ctl(frombin/marathon_ctl.erb)config/zoo_hosts.cfg(fromconfig/zoo_hosts.cfg.erb)config/zoo_mesos.cfg(fromconfig/zoo_mesos.cfg.erb)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.