Skip to content

etcd job from cf/270

Github source: 86d5a4f4 or master branch

Properties

etcd

advertise_urls_dns_suffix

DNS suffix for all nodes in the etcd cluster

ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_ip

IP for etcd client

Default
0.0.0.0

client_key

PEM-encoded client key

cluster

Information about etcd cluster

dns_health_check_host

Host to ping for confirmation of DNS resolution

Default
consul.service.cf.internal

election_timeout_in_milliseconds

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

Default
1000

enable_network_diagnostics

Enable network diagnostics for etcd

Default
true

heartbeat_interval_in_milliseconds

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

Default
50

machines

(if not using links) Addresses of etcd machines

network_diagnostics_duration_in_seconds

Time in seconds that network diagnostic logs will be collected at startup

Default
300

peer_ca_cert

PEM-encoded peer CA certificate

peer_cert

PEM-encoded peer certificate

peer_ip

IP for etcd peer

Default
0.0.0.0

peer_key

PEM-encoded peer key

peer_require_ssl

enable ssl between etcd peers

Default
true

require_ssl

enable ssl for all communication with etcd

Default
true

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_consistency_checker_ctl (from etcd_consistency_checker_ctl.sh.erb)
  • bin/etcd_ctl (from etcd_ctl.erb)
  • bin/etcd_ctl_wrapper (from etcd_ctl_wrapper.erb)
  • bin/etcd_network_diagnostics_run.sh (from etcd_network_diagnostics_run.sh.erb)
  • bin/etcd_network_diagnostics_run_ctl.sh (from etcd_network_diagnostics_run_ctl.sh.erb)
  • bin/pre-start (from pre-start.erb)
  • config/etcdfab.json (from etcdfab.json.erb)

Packages

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