Skip to content

etcd job from cf/220

Github source: 84ae8d56 or master branch

Properties

etcd

ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_key

PEM-encoded client key

cluster

Information about etcd cluster

election_timeout_in_milliseconds

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

Default
1000

heartbeat_interval_in_milliseconds

Interval between heartbeats in milliseconds. 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

Addresses of etcd machines

peer_ca_cert

PEM-encoded peer CA certificate

peer_cert

PEM-encoded peer certificate

peer_key

PEM-encoded peer key

peer_require_ssl

enable ssl between etcd peers

Default
false

require_ssl

enable ssl for all communication with etcd

Default
false

server_cert

PEM-encoded server certificate

server_key

PEM-encoded server key

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/dns_health_check (from dns_health_check.erb)
  • 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.