mesos-slave job from mesos/1
Github source:
d07b570b or
master branch
Properties¶
mesos¶
slave¶
attributes¶Attributes of machine
- Default
""
cgroups_enable_cfs¶Cgroups feature flag to enable hard limits on CPU resources via the CFS bandwidth limiting subfeature
- Default
false
cgroups_hierarchy¶The path to the cgroups hierarchy root
- Default
/cgroup
cgroups_root¶Name of the root cgroup
- Default
mesos
cgroups_subsystems¶List of subsystems to enable (e.g., ‘cpu,freezer’)
- Default
cpu,memory,freezer
checkpoint¶Whether to checkpoint Apache Mesos Slaves and Frameworks information to disk
- Default
true
default_role¶Default role
- Default
'*'
disk_watch_interval¶Periodic time interval (e.g., 10secs, 2mins, etc) to check the disk usage
- Default
1mins
executor_registration_timeout¶Amount of time to wait for an executor to register with the slave before considering it hung and shutting it down
- Default
1mins
executor_shutdown_grace_period¶Amount of time to wait for an executor to shut down
- Default
5secs
gc_delay¶Maximum amount of time to wait before cleaning up executor directories
- Default
1weeks
group¶Group which will own the Apache Mesos Slave services
- Default
vcap
isolation¶Apache Mesos Slave isolation mechanism (process, cgroups)
- Default
process
listen_address¶IP address where Apache Mesos Slave will listen on
- Default
0.0.0.0
logbufsecs¶How many seconds to buffer log messages for
- Default
0
port¶Port where Apache Mesos Slave will listen on
- Default
5051
recover¶Whether to recover Apache Mesos Slaves status updates and reconnect with old executors (reconnect, cleanup)
- Default
reconnect
recovery_timeout¶Amount of time alloted for the Apache Mesos Slaves to recover
- Default
15mins
resource_monitoring_interval¶Periodic time interval for monitoring executor resource usage
- Default
1secs
resources¶Total consumable resources per slave, in the form ‘name(role):value;name(role):value…’
- Default
""
strict¶Whether to do Apache Mesos Slaves recovery in strict mode
- Default
true
switch_user¶Whether to run tasks as the user who submitted them rather than the user running the slave
- Default
false
user¶User which will own the Apache Mesos Slave services
- Default
root
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-slave/ directory
(learn more).
bin/job_properties.sh(frombin/job_properties.sh.erb)bin/slave_ctl(frombin/slave_ctl.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.