Skip to content

etcd job from cf/213

The ETCD server provides a highly-available key value store that is used by the HM9000 and the Doppler server.

Github source: 4ac0c237 or master branch

Properties

etcd

election_timeout_in_milliseconds

Time without recieving a heartbeat before peer should attempt to become leader. See https://coreos.com/docs/cluster-management/debugging/etcd-tuning

Default
1000

heartbeat_interval_in_milliseconds

Interval between heartbeats. See https://coreos.com/docs/cluster-management/debugging/etcd-tuning

Default
50

log_sync_timeout_in_seconds

Time to wait for a joining node to finish syncing logs with the existing cluster in seconds

Default
30

machines

IPs of etcd machines

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/etcd/ directory (learn more).

  • bin/drain (from drain)
  • bin/etcd_bosh_utils.sh (from etcd_bosh_utils.sh.erb)
  • bin/etcd_ctl (from etcd_ctl.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.