Skip to content

chronos job from mesos/1

Github source: d07b570b or master branch

Properties

chronos

default_job_owner

Job Owner

Default
bosh@cloudfoundry.com

disable_after_failures

Disables a job after this many failures have occurred

Default
0

enable_checkpoint

Enable checkpointing

Default
true

failover_timeout

The failover timeout in seconds for Mesos

Default
1200

failure_retry

Number of ms between retries

Default
60000

ganglia_group_prefix

Group prefix for Ganglia

ganglia_host_port

Host and port for Ganglia

ganglia_reporting_interval

Ganglia reporting interval (seconds)

group

Group which will own the Chronos services

Default
vcap

http_credentials

Credentials for accessing the Chronos http service (username:password format)

Default
chronos:chronos

http_port

The port Chronos will listen on for HTTP requests

Default
80

https_port

The port Chronos will listen on for HTTPS requests

Default
443

java_heap_size

Java Heap Size for Chronos

Default
2048m

leader_max_idle_time

The look-ahead time for scheduling tasks in milliseconds

Default
5000

mail_from

Mail from field

mail_password

Mail password (for auth)

mail_server

Address of the mailserver

mail_ssl

Mail SSL

mail_user

Mail user (for auth)

mesos_framework_name

The framework name

Default
Chronos

mesos_role

The Mesos role to run tasks under

Default
'*'

mesos_task_cpu

Number of CPUs to request from Mesos for each task

Default
0.1

mesos_task_disk

Amount of disk capacity to request from Mesos for each task (MB)

Default
256

mesos_task_mem

Amount of memory to request from Mesos for each task (MB)

Default
128

mesos_user

The mesos user to run the processes under

Default
vcap

schedule_horizon

The look-ahead time for scheduling tasks in seconds

Default
60

user

User which will own the Chronos services

Default
root

zk_state

Path in ZooKeeper for storing Chronos state

Default
chronos

zk_timeout

The timeout for ZooKeeper in milliseconds

Default
10000

mesos

zk_state

Path in ZooKeeper for storing 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/chronos/ directory (learn more).

  • bin/chronos_ctl (from bin/chronos_ctl.erb)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)
  • config/zoo_hosts.cfg (from config/zoo_hosts.cfg.erb)
  • config/zoo_mesos.cfg (from config/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.