marathon job from mesos/3
Github source:
d46100e3 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
enable_metrics¶Enable metric measurement of service method calls
- Default
true
enable_tracing¶Enable trace logging ofservice method calls
- Default
false
event_stream_max_outstanding_messages¶The event stream buffers events that are not already consumed by clients
- Default
50
failover_timeout¶The failover_timeout for Apache Mesos in seconds
- Default
604800
framework_name¶Framework name to register with Mesos
- Default
Marathon
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
http_realm¶The security realm associated with the credentials
- Default
mesos
https_port¶The port Marathon will listen on for HTTPS requests
- Default
443
java_heap_size¶Java Heap Size for Marathon
- Default
512m
leader_proxy_connection_timeout¶Maximum time, in milliseconds, to wait for connecting to the current Marathon leader from another Marathon instance
- Default
5000
leader_proxy_read_timeout¶Maximum time, in milliseconds, for reading from the current Marathon leader
- Default
10000
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
logging_level¶Set logging level to one of: off, fatal, error, warn, info, debug, trace, all
- Default
info
logrotate¶
frequency¶Frequency to run logrotate for Marathon log files (crontab five time and date fields)
- Default
0 * * * *
rotate¶Number of times Marathon log files are rotated before being removed
- Default
"7"
size¶Size before Marathon log files are rotated
- Default
10M
max_tasks_per_offer¶Maximally launch this number of tasks per offer
- Default
1
max_tasks_per_offer_cycle¶Maximally launch this number of tasks per offer cycle
- Default
1000
mesos_role¶Mesos role for this framework
- Default
'*'
mesos_user¶Mesos user for this framework
- Default
vcap
reconciliation_initial_delay¶This is the length of time, in milliseconds, before Marathon begins to periodically perform task reconciliation operations
- Default
15000
reconciliation_interval¶This is the length of time, in milliseconds, between task reconciliation operations
- Default
300000
scale_apps_initial_delay¶This is the length of time, in milliseconds, before Marathon begins to periodically attempt to scale apps
- Default
15000
scale_apps_interval¶This is the length of time, in milliseconds, between task scale apps
- Default
300000
store_timeout¶Maximum time, in milliseconds, to wait for persistent storage operations to complete
- Default
2000
task_launch_timeout¶Time, in milliseconds, to wait for a task to enter the TASK_RUNNING state before killing it
- Default
300000
user¶User which will own the Marathon services
- Default
root
zk_max_versions¶Limit the number of versions, stored for one entity
- Default
25
zk_session_timeout¶The timeout for zookeeper sessions in milliseconds
- Default
1.8e+06
zk_state¶Path in ZooKeeper for storing Marathon state
- Default
marathon
zk_timeout¶The timeout for ZooKeeper in milliseconds
- Default
10000
mesos¶
principal¶Mesos principal
secret¶Mesos secret
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/logrotate.conf(fromconfig/logrotate.conf.erb)config/marathon_logrotate.cron(fromconfig/marathon_logrotate.cron.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.