mesos-master job from mesos/3
Github source:
d46100e3 or
master branch
Properties¶
mesos¶
cluster_name¶Human readable name for the Apache Mesos cluster
- Default
Mesos Cluster
master¶
allocation_interval¶Amount of time to wait between performing (batch) allocations
- Default
1secs
authenticate_frameworks¶Only authenticated frameworks are allowed to register?
- Default
false
authenticate_slaves¶Only authenticated slaves are allowed to register?
- Default
false
authenticators¶Authenticator implementation to use when authenticating frameworks and/or slaves
- Default
crammd5
framework_sorter¶Policy to use for allocating resources between a given user’s frameworks
- Default
drf
group¶Group which will own the Apache Mesos Master services
- Default
vcap
initialize_driver_logging¶Whether to automatically initialize google logging of scheduler and/or executor drivers
- Default
true
log_auto_initialize¶Whether to automatically initialize the replicated log used for the registry
- Default
true
logbufsecs¶How many seconds to buffer log messages for
- Default
0
loglevel¶Log message at or above this level; possible values: ‘INFO’, ‘WARNING’, ‘ERROR’;
- Default
INFO
logrotate¶
frequency¶Frequency to run logrotate for Mesos Master log files (crontab five time and date fields)
- Default
0 * * * *
rotate¶Number of times Mesos Master log files are rotated before being removed
- Default
"7"
size¶Size before Mesos Master log files are rotated
- Default
10M
offer_timeout¶Duration of time before an offer is rescinded from a framework
- Default
5mins
port¶Port where Apache Mesos Master will listen on
- Default
80
quorum¶The size of the quorum of replicas when using ‘replicated_log’ based registry
recovery_slave_removal_limit¶For failovers, limit on the percentage of slaves that can be removed from the registry and shutdown after the re-registration timeout elapses
- Default
100%
registry¶Persistence strategy for the registry
- Default
replicated_log
registry_fetch_timeout¶Duration of time to wait in order to fetch data from the registry
- Default
1mins
registry_store_timeout¶Duration of time to wait in order to store data in the registry
- Default
5secs
roles¶A comma seperated list of the allocation roles that frameworks in this cluster may belong to
- Default
""
root_submissions¶Can root submit frameworks?
- Default
true
slave_reregister_timeout¶The timeout within which all slaves are expected to re-register when a new master is elected as the leader
- Default
10mins
slaves_whitelist¶List of slaves to advertise offers for
- Default
[]
user¶User which will own the Apache Mesos Master services
- Default
root
user_sorter¶Policy to use for allocating resources between users
- Default
drf
weights¶A comma seperated list of role/weight pairs of the form ‘role=weight,role=weight’
- Default
""
zk_session_timeout¶ZooKeeper session timeout
- Default
10secs
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/mesos-master/ directory
(learn more).
bin/job_properties.sh(frombin/job_properties.sh.erb)bin/mesos_master_ctl(frombin/mesos_master_ctl.erb)config/credentials(fromconfig/credentials.erb)config/logrotate.conf(fromconfig/logrotate.conf.erb)config/mesos_master_logrotate.cron(fromconfig/mesos_master_logrotate.cron.erb)config/slaves_whitelist.cfg(fromconfig/slaves_whitelist.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.